public final class RemoteException
extends java.lang.RuntimeException
implements com.palantir.logsafe.SafeLoggable
| Constructor and Description |
|---|
RemoteException(SerializableError error,
int status) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<com.palantir.logsafe.Arg<?>> |
getArgs() |
SerializableError |
getError()
Returns the error thrown by a remote process which caused an RPC call to fail.
|
java.lang.String |
getLogMessage() |
java.lang.String |
getMessage() |
int |
getStatus()
The HTTP status code of the HTTP response conveying the remote exception.
|
public RemoteException(SerializableError error, int status)
public SerializableError getError()
public int getStatus()
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getLogMessage()
getLogMessage in interface com.palantir.logsafe.SafeLoggablepublic java.util.List<com.palantir.logsafe.Arg<?>> getArgs()
getArgs in interface com.palantir.logsafe.SafeLoggable