jBPM distribution 6.2.0.CR4

org.jbpm.process.workitem.rest
Class RESTServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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
RESTServiceException(int status, String response, String endoint)
           
 
Method Summary
 String getEndoint()
           
 String getResponse()
           
 int getStatus()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RESTServiceException

public RESTServiceException(int status,
                            String response,
                            String endoint)
Method Detail

getStatus

public int getStatus()

getResponse

public String getResponse()

getEndoint

public String getEndoint()

jBPM distribution 6.2.0.CR4

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.