Class PaymentException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bhn.payment.common.exception.PaymentException
All Implemented Interfaces:
Serializable

public class PaymentException extends RuntimeException

PaymentException class.

Version:
$Id: $Id
Author:
pvela00
See Also:
  • Field Details

  • Constructor Details

    • PaymentException

      public PaymentException(String errorMessage)

      Constructor for PaymentException.

      Parameters:
      errorMessage - a String object
    • PaymentException

      public PaymentException(int errorStatus)

      Constructor for PaymentException.

      Parameters:
      errorStatus - an int
    • PaymentException

      public PaymentException(int errorStatus, ErrorResponse errorResponse)

      Constructor for PaymentException.

      Parameters:
      errorStatus - an int
      errorResponse - a ErrorResponse object
    • PaymentException

      public PaymentException(String errorMessage, ErrorResponse errorResponse)

      Constructor for PaymentException.

      Parameters:
      errorMessage - a String object
      errorResponse - a ErrorResponse object
    • PaymentException

      public PaymentException(String errorMessage, Throwable error)

      Constructor for PaymentException.

      Parameters:
      errorMessage - a String object
      error - a Throwable object