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
public class RestOperationException extends OperationException
Automation exception to extend to be thrown during REST calls on Automation operations.- Since:
- 7.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
status
-
Fields inherited from class org.nuxeo.ecm.automation.OperationException
rollback
-
-
Constructor Summary
Constructors Constructor Description RestOperationException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getStatus()
void
setStatus(int status)
-
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 Detail
-
status
protected int status
-
-
Constructor Detail
-
RestOperationException
public RestOperationException(String message)
-
RestOperationException
public RestOperationException(Throwable cause)
-
RestOperationException
public RestOperationException(String message, Throwable cause)
-
RestOperationException
public RestOperationException(String message, int status)
-
RestOperationException
public RestOperationException(Throwable cause, int status)
-
RestOperationException
public RestOperationException(String message, Throwable cause, int status)
-
-