Class AlphaPayException

All Implemented Interfaces:
Serializable

public class AlphaPayException extends RuntimeException
Runtime exception representing an error returned from AlphaPay Gateway or thrown client-side when processing the response.
See Also:
  • Constructor Details

    • AlphaPayException

      public AlphaPayException(int httpStatus, String errorCode, String applicationMessage, String errorMessageEn, String errorMessageAr)
  • Method Details

    • getHttpStatus

      public int getHttpStatus()
    • getErrorCode

      public String getErrorCode()
    • getApplicationMessage

      public String getApplicationMessage()
    • getErrorMessageEn

      public String getErrorMessageEn()
    • getErrorMessageAr

      public String getErrorMessageAr()
    • toString

      public String toString()
      Overrides:
      toString in class Throwable