public class ClientCrossCiteException extends Exception
| Modifier and Type | Field and Description |
|---|---|
private String |
detailMessage
Detail message.
|
private static long |
serialVersionUID
serialVersionUID.
|
private org.restlet.data.Status |
status
HTTP status.
|
| Constructor and Description |
|---|
ClientCrossCiteException(org.restlet.data.Status status)
Constructs a new exception with HTTP status as its detail message.
|
ClientCrossCiteException(org.restlet.data.Status status,
String message)
Constructs a new exception with the specified HTTP status and detail
message.
|
ClientCrossCiteException(org.restlet.data.Status status,
String message,
Throwable cause)
Constructs a new exception with the specified detail HTTP status, message
and cause.
|
ClientCrossCiteException(org.restlet.data.Status status,
Throwable cause)
Constructs a new exception with the specified detail cause.
|
| Modifier and Type | Method and Description |
|---|---|
private String |
computeDetailMessage(org.restlet.data.Status status)
Returns the detail message according to the status.
|
String |
getDetailMessage()
Returns detail message;
|
org.restlet.data.Status |
getStatus()
Returns the status.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID
private final String detailMessage
private final org.restlet.data.Status status
public ClientCrossCiteException(org.restlet.data.Status status)
status - HTTP statuspublic ClientCrossCiteException(org.restlet.data.Status status,
String message)
status - HTTP messagemessage - messagepublic ClientCrossCiteException(org.restlet.data.Status status,
Throwable cause)
status - HTTP statuscause - causeprivate String computeDetailMessage(org.restlet.data.Status status)
status - HTTP statuspublic org.restlet.data.Status getStatus()
public String getDetailMessage()
Copyright © 2017–2020 CNES. All rights reserved.