public class SPECCHIOWebClientException extends SPECCHIOClientException
cause, details, message
Constructor and Description |
---|
SPECCHIOWebClientException(com.sun.jersey.api.client.ClientHandlerException ex)
Constructor for re-throwing a client handler exception thrown by Jersey.
|
SPECCHIOWebClientException(java.lang.IllegalArgumentException ex)
Constructor for re-throwing an illegal argument exception thrown by Jersey.
|
SPECCHIOWebClientException(java.lang.String message)
Constructor for throwing a new exception.
|
SPECCHIOWebClientException(com.sun.jersey.api.client.UniformInterfaceException ex)
Constructor for re-throwing a uniform interface exception thrown by Jersey.
|
SPECCHIOWebClientException(javax.ws.rs.WebApplicationException ex) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUserMessage()
Get an error message suitable for displaying to the user.
|
getDetails
public SPECCHIOWebClientException(com.sun.jersey.api.client.ClientHandlerException ex)
public SPECCHIOWebClientException(com.sun.jersey.api.client.UniformInterfaceException ex)
public SPECCHIOWebClientException(java.lang.IllegalArgumentException ex)
ex
- the original exceptionpublic SPECCHIOWebClientException(java.lang.String message)
message
- the message to be reported by the exceptionpublic SPECCHIOWebClientException(javax.ws.rs.WebApplicationException ex)
public java.lang.String getUserMessage()
getUserMessage
in class SPECCHIOClientException