public final class ClientException extends Exception
| Constructor and Description |
|---|
ClientException(com.sun.jersey.api.client.ClientResponse.Status responseStatus,
String message)
Creates the exception using the provided response status and message.
|
| Modifier and Type | Method and Description |
|---|---|
com.sun.jersey.api.client.ClientResponse.Status |
getResponseStatus()
Returns the response status of the REST call that this exception
concerns.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ClientException(com.sun.jersey.api.client.ClientResponse.Status responseStatus,
String message)
responseStatus - the com.sun.jersey.api.client.ClientResponse.Status.
Cannot be null.message - the exception's message.Copyright © 2012–2016 Emory University. All rights reserved.