public class SPECCHIOClientException
extends javax.ws.rs.WebApplicationException
Modifier and Type | Field and Description |
---|---|
protected java.lang.Throwable |
cause
the ultimate cause of the exception
|
protected java.lang.String |
details
the detailed message
|
protected java.lang.String |
message |
Constructor and Description |
---|
SPECCHIOClientException(java.lang.Exception ex)
Constructor for re-throwing an exception.
|
SPECCHIOClientException(java.lang.String message)
Constructor for throwing a new exception.
|
SPECCHIOClientException(java.lang.String message,
java.lang.Exception ex)
Constructor for re-throwing an exception with a new detail message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDetails()
Get a detailed error message.
|
java.lang.String |
getUserMessage()
Get an error message suitable for displaying to the user.
|
protected java.lang.String details
protected java.lang.String message
protected java.lang.Throwable cause
public SPECCHIOClientException(java.lang.String message, java.lang.Exception ex)
public SPECCHIOClientException(java.lang.Exception ex)
public SPECCHIOClientException(java.lang.String message)
message
- the message to be reported by the exception