Class DataApiException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DataApiDocumentAlreadyExistException, DataApiInvalidArgumentException

public class DataApiException extends RuntimeException
An error ocured with the JSON API
See Also:
  • Field Details

  • Constructor Details

    • DataApiException

      public DataApiException(ApiError error)
      Error = exception.
      Parameters:
      error - error at api level
    • DataApiException

      public DataApiException(ApiError error, Throwable cause)
      Json Api Exception.
      Parameters:
      error - error message
      cause - error cause
  • Method Details

    • getJsonApiError

      public ApiError getJsonApiError()
      Gets errorCode
      Returns:
      value of errorCode