com.intel.gpe.clients.api.exceptions
Class GPEException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.intel.gpe.clients.api.exceptions.GPEException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GPEByteIOUnsupportedClientTransferMechanismException, GPEClientException, GPEMiddlewareException, GPEServiceException

public abstract class GPEException
extends java.lang.Exception

Top of GPE exception hierarchy.
GPE exception handling API encapsulates environment-dependent exceptions thrown by high-level GPE services API. Environment-independent exceptions are passed as is; environment-dependent exceptions (service faults) and specific GPE exceptions (i.e., security setup exceptions) are represented as instances of GPEException subclasses.

Version:
$Id: GPEException.java,v 1.10 2006/03/06 14:45:24 dnpetrov Exp $
Author:
Dmitry Petrov
See Also:
Serialized Form

Field Summary
protected  ServiceClient resourceClient
           
 
Constructor Summary
GPEException(java.lang.String message, java.lang.Throwable cause, ServiceClient resourceClient)
           
 
Method Summary
 java.lang.String getReason()
          Get exception reasong - the text of message to be displayed by client applications
 ServiceClient getResourceClient()
          Get the resource which raised original service fault.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

resourceClient

protected ServiceClient resourceClient
Constructor Detail

GPEException

public GPEException(java.lang.String message,
                    java.lang.Throwable cause,
                    ServiceClient resourceClient)
Method Detail

getResourceClient

public ServiceClient getResourceClient()
Get the resource which raised original service fault.

Returns:
resource as WSRFClient

getReason

public java.lang.String getReason()
Get exception reasong - the text of message to be displayed by client applications

Returns:


Copyright © 2008. All Rights Reserved.