Class ApiErrorException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ApiErrorException
    extends java.lang.RuntimeException
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ApiErrorException​(com.google.gson.JsonObject errorResponse, java.lang.Integer statusCode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<ApiError> getErrors()  
      ApiError getFirstError()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • ApiErrorException

        public ApiErrorException​(com.google.gson.JsonObject errorResponse,
                                 java.lang.Integer statusCode)
    • Method Detail

      • getFirstError

        public ApiError getFirstError()
      • getErrors

        public java.util.List<ApiError> getErrors()