public class RestException extends Exception
| Constructor and Description |
|---|
RestException(int responseStatus,
String responseMessage)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResponseMessage() |
int |
getResponseStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RestException(int responseStatus,
String responseMessage)
responseStatus - the response statusresponseMessage - the messagepublic int getResponseStatus()
public String getResponseMessage()
Copyright © 2017. All rights reserved.