public class ServiceResponseException extends RuntimeException
| Constructor and Description |
|---|
ServiceResponseException(int statusCode,
String message)
Instantiates a new Service Response Exception.
|
ServiceResponseException(int statusCode,
String message,
Throwable cause)
Instantiates a new Service Response Exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatusCode()
Gets the HTTP status code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServiceResponseException(int statusCode,
String message)
statusCode - the status codemessage - the error messageCopyright © 2015. All rights reserved.