Package com.sas.services
Class TransportException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sas.util.ChainedException
com.sas.services.ServiceException
com.sas.services.TransportException
- All Implemented Interfaces:
com.sas.util.ChainedExceptionInterface,Serializable
Thrown when the underlying system used by this service throws an exception.
A TransportException object typically wraps the underlying exception which is
caught by service code.
- Since:
- 1.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransportException(String message) Constructs an instance using the specified message to detail the cause of the exception.TransportException(Throwable throwable, String message) Constructs an instance using the specified message and the throwable that prompted creation of this service exception. -
Method Summary
Methods inherited from class com.sas.util.ChainedException
chainContains, getRootException, getRootException, getTargetException, getTargetException, printStackTrace, printStackTrace, printStackTrace, toString, toStringBufferMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
TransportException
public TransportException(String message) Constructs an instance using the specified message to detail the cause of the exception.- Parameters:
message- Exception message.
-
TransportException
public TransportException(Throwable throwable, String message) Constructs an instance using the specified message and the throwable that prompted creation of this service exception.- Parameters:
throwable- Throwable that prompted the exception.message- Exception message.
-