public class AttivioIOException extends IOException implements AttivioThrowable
Contains the underlying ErrorCode that may explain the cause of the exception.
| Constructor and Description |
|---|
AttivioIOException(AttivioThrowable e)
Constructor, copies the error code, cause, and original message from
e. |
AttivioIOException(ErrorCode code,
String message)
Constructor.
|
AttivioIOException(ErrorCode code,
String message,
Object... args)
Constructor.
|
AttivioIOException(ErrorCode code,
Throwable cause,
String message)
Constructor.
|
AttivioIOException(ErrorCode code,
Throwable cause,
String message,
Object... args)
Constructor.
|
AttivioIOException(String context,
ErrorCode code,
Throwable cause,
String message)
Constructor.
|
AttivioIOException(String context,
ErrorCode code,
Throwable cause,
String message,
Object... args)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
AttivioException |
getAttivioException()
Convert this exception into an
AttivioException. |
ErrorCode |
getErrorCode()
Get the
ErrorCode for this exception. |
String |
getErrorContext()
Get the context for this error.
|
String |
getMessage() |
String |
getOriginalMessage()
Get the original message without ErrorCode.
|
int |
hashCode() |
AttivioException |
toRemoteException()
Convert this exception to be a remote exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCause, getStackTracepublic AttivioIOException(AttivioThrowable e)
e.public AttivioIOException(ErrorCode code, String message, Object... args)
public AttivioIOException(ErrorCode code, Throwable cause, String message)
public AttivioIOException(ErrorCode code, Throwable cause, String message, Object... args)
public AttivioIOException(String context, ErrorCode code, Throwable cause, String message, Object... args)
public ErrorCode getErrorCode()
ErrorCode for this exception.getErrorCode in interface AttivioThrowablepublic String getErrorContext()
This context is specific to the error code and will typically consist of things such as field names,
document ids, etc.
getErrorContext in interface AttivioThrowablepublic String getMessage()
getMessage in class Throwablepublic String getOriginalMessage()
getOriginalMessage in interface AttivioThrowablepublic AttivioException getAttivioException()
AttivioException.public AttivioException toRemoteException()
This converts this exception to a representation that a client can receive.
toRemoteException in interface AttivioThrowableCopyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.