Package com.jalios.jcms.rest
Class RestException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.jalios.jcms.rest.RestException
-
- All Implemented Interfaces:
java.io.Serializable
public class RestException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestException()
RestException(java.lang.String message)
RestException(java.lang.String applicationErrorCode, java.lang.String message)
RestException(java.lang.String applicationErrorCode, java.lang.String message, java.lang.Throwable cause)
RestException(java.lang.String applicationErrorCode, java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
RestException(java.lang.String message, java.lang.Throwable cause)
RestException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
RestException(java.lang.Throwable cause)
RestException(org.restlet.data.Status status)
RestException(org.restlet.data.Status status, java.lang.String message)
RestException(org.restlet.data.Status status, java.lang.String applicationErrorCode, java.lang.String message)
RestException(org.restlet.data.Status status, java.lang.String applicationErrorCode, java.lang.String message, java.lang.Throwable cause)
RestException(org.restlet.data.Status status, java.lang.String applicationErrorCode, java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
RestException(org.restlet.data.Status status, java.lang.String message, java.lang.Throwable cause)
RestException(org.restlet.data.Status status, java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
RestException(org.restlet.data.Status status, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getApplicationErrorCode()
org.restlet.data.Status
getStatus()
void
setApplicationErrorCode(java.lang.String applicationErrorCode)
void
setStatus(org.restlet.data.Status status)
-
-
-
Constructor Detail
-
RestException
public RestException()
-
RestException
public RestException(org.restlet.data.Status status)
-
RestException
public RestException(org.restlet.data.Status status, java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
RestException
public RestException(org.restlet.data.Status status, java.lang.String message, java.lang.Throwable cause)
-
RestException
public RestException(org.restlet.data.Status status, java.lang.String message)
-
RestException
public RestException(org.restlet.data.Status status, java.lang.Throwable cause)
-
RestException
public RestException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
RestException
public RestException(java.lang.String message, java.lang.Throwable cause)
-
RestException
public RestException(java.lang.String message)
-
RestException
public RestException(java.lang.Throwable cause)
-
RestException
public RestException(org.restlet.data.Status status, java.lang.String applicationErrorCode, java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
RestException
public RestException(org.restlet.data.Status status, java.lang.String applicationErrorCode, java.lang.String message, java.lang.Throwable cause)
-
RestException
public RestException(org.restlet.data.Status status, java.lang.String applicationErrorCode, java.lang.String message)
-
RestException
public RestException(java.lang.String applicationErrorCode, java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
RestException
public RestException(java.lang.String applicationErrorCode, java.lang.String message, java.lang.Throwable cause)
-
RestException
public RestException(java.lang.String applicationErrorCode, java.lang.String message)
-
-
Method Detail
-
getStatus
public org.restlet.data.Status getStatus()
-
setStatus
public void setStatus(org.restlet.data.Status status)
-
getApplicationErrorCode
public java.lang.String getApplicationErrorCode()
-
setApplicationErrorCode
public void setApplicationErrorCode(java.lang.String applicationErrorCode)
-
-