Class RestAPIException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.imixs.workflow.services.rest.RestAPIException
All Implemented Interfaces:
Serializable

public class RestAPIException extends Exception
RestAPIException signals an error in the communication with the Imixs Rest API using the Imixs RestClient. The error code is the HTTP responce code.
Version:
2.0
Author:
rsoika
See Also:
  • Field Details

    • errorContext

      protected String errorContext
    • errorCode

      protected int errorCode
  • Constructor Details

    • RestAPIException

      public RestAPIException(int aErrorCode, String message)
    • RestAPIException

      public RestAPIException(String aErrorContext, int aErrorCode, String message)
    • RestAPIException

      public RestAPIException(String aErrorContext, int aErrorCode, String message, Exception e)
    • RestAPIException

      public RestAPIException(int aErrorCode, String message, Exception e)
  • Method Details

    • getErrorContext

      public String getErrorContext()
    • setErrorContext

      public void setErrorContext(String errorContext)
    • getErrorCode

      public int getErrorCode()
    • setErrorCode

      public void setErrorCode(int errorCode)