Package com.avoka.fc.core.util
Class PaymentResponseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.avoka.fc.core.util.ApplicationException
com.avoka.fc.core.util.PaymentResponseException
- All Implemented Interfaces:
Serializable
Provides an error that is used during payment when the response from the payment server was unexpected or faulty.
- See Also:
-
Constructor Summary
ConstructorDescriptionPaymentResponseException
(String name, String context, String userMessage, String solution) Create an PaymentResponseException object using the specified parametersPaymentResponseException
(String name, Throwable cause, String context, String userMessage, String solution) Create an PaymentResponseException object using the specified parameters -
Method Summary
Methods inherited from class com.avoka.fc.core.util.ApplicationException
getClient, getContext, getErrorLog, getFormXml, getGroovyServiceLog, getMessageKey, getName, getRequestKey, getSolution, getUserMessage, isLogToErrorLog, setClient, setContext, setErrorLog, setFormXml, setGroovyServiceLog, setLogToErrorLog, setMessageKey, setRequestKey, setSolution, setUserMessage, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
PaymentResponseException
public PaymentResponseException(String name, Throwable cause, String context, String userMessage, String solution) Create an PaymentResponseException object using the specified parameters- Parameters:
name
- a name identifying the exceptioncause
- the Throwable causing the errorcontext
- a message describing the context in which the error occurreduserMessage
- a detail message about the error intended for the usersolution
- an optional message outlining a solution to the problem- See Also:
-
PaymentResponseException
Create an PaymentResponseException object using the specified parameters- Parameters:
name
- a name identifying the exceptioncontext
- a message describing the context in which the error occurreduserMessage
- a detail message about the error intended for the usersolution
- an optional message outlining a solution to the problem- See Also:
-