Class RestOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.nuxeo.ecm.automation.OperationException
org.nuxeo.ecm.automation.server.jaxrs.RestOperationException
- All Implemented Interfaces:
Serializable
Automation exception to extend to be thrown during REST calls on
Automation operations.
- Since:
- 7.1
- See Also:
-
Field Summary
Fields inherited from class org.nuxeo.ecm.automation.OperationException
rollback
-
Constructor Summary
ConstructorDescriptionRestOperationException
(String message) RestOperationException
(String message, int status) RestOperationException
(String message, Throwable cause) RestOperationException
(String message, Throwable cause, int status) RestOperationException
(Throwable cause) RestOperationException
(Throwable cause, int status) -
Method Summary
Methods inherited from class org.nuxeo.ecm.automation.OperationException
isRollback, setNoRollback
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
status
protected int status
-
-
Constructor Details
-
RestOperationException
-
RestOperationException
-
RestOperationException
-
RestOperationException
-
RestOperationException
-
RestOperationException
-
-
Method Details
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int status)
-