Package com.attivio.sdk
Interface AttivioThrowable
-
- All Known Implementing Classes:
AttivioException
,AttivioIOException
,AttivioRuntimeException
,TransportException
public interface AttivioThrowable
Interface implemented by all Attivio Exception base classes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Throwable
getCause()
Get the cause for this exception.ErrorCode
getErrorCode()
Get theErrorCode
for this exception.java.lang.String
getErrorContext()
Get the context for this error.java.lang.String
getOriginalMessage()
Get the original message without ErrorCode.java.lang.StackTraceElement[]
getStackTrace()
Get the stack trace for this exception.AttivioException
toRemoteException()
Convert this exception to be a remote exception.
-
-
-
Method Detail
-
getErrorContext
java.lang.String getErrorContext()
Get the context for this error.This context is specific to the
error code
and will typically consist of things such as field names, document ids, etc.
-
getOriginalMessage
java.lang.String getOriginalMessage()
Get the original message without ErrorCode.
-
toRemoteException
AttivioException toRemoteException()
Convert this exception to be a remote exception.This converts this exception to a representation that a client can receive.
-
getCause
java.lang.Throwable getCause()
Get the cause for this exception.
-
getStackTrace
java.lang.StackTraceElement[] getStackTrace()
Get the stack trace for this exception.
-
-