@WebFault public class AttivioRuntimeException extends RuntimeException implements AttivioThrowable
Contains the underlying ErrorCode
that may explain the cause of the exception.
Constructor and Description |
---|
AttivioRuntimeException(AttivioThrowable e) |
AttivioRuntimeException(ErrorCode code,
String message,
Object... args) |
AttivioRuntimeException(ErrorCode code,
Throwable cause,
String message,
Object... args) |
AttivioRuntimeException(String context,
ErrorCode code,
Throwable cause,
String message,
Object... args) |
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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCause, getStackTrace
public AttivioRuntimeException(AttivioThrowable e)
public AttivioRuntimeException(ErrorCode code, String message, Object... args)
public AttivioRuntimeException(ErrorCode code, Throwable cause, String message, Object... args)
public ErrorCode getErrorCode()
ErrorCode
for this exception.getErrorCode
in interface AttivioThrowable
public 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 AttivioThrowable
public String getMessage()
getMessage
in class Throwable
public String getOriginalMessage()
getOriginalMessage
in interface AttivioThrowable
public AttivioException getAttivioException()
AttivioException
.public AttivioException toRemoteException()
This converts this exception to a representation that a client can receive.
toRemoteException
in interface AttivioThrowable
Copyright © 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.