Package com.bhn.payment.common.exception
Class PaymentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.bhn.payment.common.exception.PaymentException
- All Implemented Interfaces:
Serializable
PaymentException class.
- Version:
- $Id: $Id
- Author:
- pvela00
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPaymentException(int errorStatus) Constructor for PaymentException.PaymentException(int errorStatus, ErrorResponse errorResponse) Constructor for PaymentException.PaymentException(String errorMessage) Constructor for PaymentException.PaymentException(String errorMessage, ErrorResponse errorResponse) Constructor for PaymentException.PaymentException(String errorMessage, Throwable error) Constructor for PaymentException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorResponse
-
-
Constructor Details
-
PaymentException
Constructor for PaymentException.
- Parameters:
errorMessage- aStringobject
-
PaymentException
public PaymentException(int errorStatus) Constructor for PaymentException.
- Parameters:
errorStatus- an int
-
PaymentException
Constructor for PaymentException.
- Parameters:
errorStatus- an interrorResponse- aErrorResponseobject
-
PaymentException
Constructor for PaymentException.
- Parameters:
errorMessage- aStringobjecterrorResponse- aErrorResponseobject
-
PaymentException
Constructor for PaymentException.
-