Class HttpRosetteAPIException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.basistech.rosette.RosetteRuntimeException
com.basistech.rosette.apimodel.CommonRosetteAPIException
com.basistech.rosette.api.HttpRosetteAPIException
All Implemented Interfaces:
Serializable

public class HttpRosetteAPIException extends com.basistech.rosette.apimodel.CommonRosetteAPIException
Exception from HttpRosetteAPI
See Also:
  • Constructor Details

    • HttpRosetteAPIException

      public HttpRosetteAPIException(com.basistech.rosette.apimodel.ErrorResponse errorResponse, Integer httpStatusCode)
    • HttpRosetteAPIException

      public HttpRosetteAPIException(String message, Throwable cause, com.basistech.rosette.apimodel.ErrorResponse errorResponse, Integer httpStatusCode)
    • HttpRosetteAPIException

      public HttpRosetteAPIException(String message, com.basistech.rosette.apimodel.ErrorResponse errorResponse, Integer httpStatusCode)
    • HttpRosetteAPIException

      public HttpRosetteAPIException(Throwable cause, com.basistech.rosette.apimodel.ErrorResponse errorResponse, Integer httpStatusCode)
  • Method Details

    • getHttpStatusCode

      public Integer getHttpStatusCode()
      Returns:
      the HTTP status code associated with this error, or null if there was no HTTP error involved.