Package org.jbpm.process.workitem.rest
Class RESTServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jbpm.process.workitem.rest.RESTServiceException
-
- All Implemented Interfaces:
Serializable
public class RESTServiceException extends RuntimeException
Dedicated exception to provide information about failed REST service invocation. This exception can be thrown when there was successful connection but response code is different than 2XX codes.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RESTServiceException(int status, String response, String endoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEndoint()
String
getResponse()
int
getStatus()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-