Class GatewayException

    • Constructor Summary

      Constructors 
      Constructor Description
      GatewayException​(int errorCode, java.lang.String message)  
      GatewayException​(int errorCode, java.lang.String message, java.lang.Throwable cause)  
      GatewayException​(int errorCode, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()  
      java.lang.String getResponseMessage()  
      java.lang.Object getResponseObject()
      Returns the response object.
      • 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

      • GatewayException

        public GatewayException​(int errorCode,
                                java.lang.String message)
      • GatewayException

        public GatewayException​(int errorCode,
                                java.lang.String message,
                                java.lang.Throwable cause)
      • GatewayException

        public GatewayException​(int errorCode,
                                java.lang.Throwable cause)
    • Method Detail

      • getErrorCode

        public int getErrorCode()
      • getResponseMessage

        public java.lang.String getResponseMessage()
      • getResponseObject

        public java.lang.Object getResponseObject()
        Returns the response object. Some error messages might encode more information in the response. Will usually be null.