public class ResponseException extends Exception
Constructor and Description |
---|
ResponseException(ResponseStatusCode responseStatusCode,
String serverMessage) |
ResponseException(ResponseStatusCode responseStatusCode,
String serverMessage,
List<String> remoteExceptionHierarchy,
String remoteStackTrace) |
Modifier and Type | Method and Description |
---|---|
Optional<List<String>> |
getRemoteExceptionHierarchy()
The list of exceptions generated by the server starting with the top-most one followed by its "cause".
|
Optional<String> |
getRemoteStackTrace()
The stacktrace produced by the remote server.
|
ResponseStatusCode |
getResponseStatusCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResponseException(ResponseStatusCode responseStatusCode, String serverMessage)
public ResponseException(ResponseStatusCode responseStatusCode, String serverMessage, List<String> remoteExceptionHierarchy, String remoteStackTrace)
public ResponseStatusCode getResponseStatusCode()
public Optional<String> getRemoteStackTrace()
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.