public final class AttivioRemoteException extends Exception
The stack trace and detail message are inherited from the passed in Throwable. The original Throwable's cause is converted to an AttivioException and stored as the AttivioRemoteException's cause.
Constructor and Description |
---|
AttivioRemoteException(String sourceClass,
String message,
Throwable cause,
StackTraceElement[] stackTrace)
Constructor, from the details of the remote exception.
|
AttivioRemoteException(Throwable e)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getMessage() |
String |
getSourceClass()
Get the name of the class that was the source for this RemoteThrowable.
|
int |
hashCode() |
static Exception |
toRemoteException(Throwable cause)
Convert
cause to a remote exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AttivioRemoteException(Throwable e)
e
- the remote exceptionpublic AttivioRemoteException(String sourceClass, String message, Throwable cause, StackTraceElement[] stackTrace)
sourceClass
- message
- cause
- stackTrace
- public String getSourceClass()
public static Exception toRemoteException(Throwable cause)
cause
to a remote exception.
This converts any exception to a representation that a client can receive.
public String getMessage()
getMessage
in class Throwable
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.