public final class UnknownRemoteException
extends java.lang.RuntimeException
implements com.palantir.logsafe.SafeLoggable
| Constructor and Description |
|---|
UnknownRemoteException(int status,
java.lang.String body) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<com.palantir.logsafe.Arg<?>> |
getArgs() |
java.lang.String |
getBody()
Returns the body of the error response.
|
java.lang.String |
getLogMessage() |
int |
getStatus()
The HTTP status code of the HTTP response conveying the error.
|
public UnknownRemoteException(int status,
java.lang.String body)
public int getStatus()
public java.lang.String getBody()
public 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