Package com.attivio.sdk
Class TransportException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.attivio.sdk.AttivioException
-
- com.attivio.sdk.TransportException
-
- All Implemented Interfaces:
AttivioThrowable
,java.io.Serializable
public class TransportException extends AttivioException
Exception to indicate an error occurred while moving messages between components.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransportException(ErrorCode code, java.lang.String message, java.lang.Object... params)
Pass through to AttivioExceptionTransportException(ErrorCode code, java.lang.Throwable cause, java.lang.String message, java.lang.Object... params)
Pass through to AttivioException
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportException
toRemoteException()
Convert this exception to be a remote exception.-
Methods inherited from class com.attivio.sdk.AttivioException
equals, formatLogMessage, getErrorCode, getErrorContext, getMessage, getOriginalMessage, hashCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.attivio.sdk.AttivioThrowable
getCause, getStackTrace
-
-
-
-
Constructor Detail
-
TransportException
public TransportException(ErrorCode code, java.lang.Throwable cause, java.lang.String message, java.lang.Object... params)
Pass through to AttivioException
-
TransportException
public TransportException(ErrorCode code, java.lang.String message, java.lang.Object... params)
Pass through to AttivioException
-
-
Method Detail
-
toRemoteException
public TransportException toRemoteException()
Convert this exception to be a remote exception.This converts this exception to a representation that a client can receive.
- Specified by:
toRemoteException
in interfaceAttivioThrowable
- Overrides:
toRemoteException
in classAttivioException
-
-