org.starhope.appius.pay.util
Class RetryPaymentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.starhope.appius.pay.util.RetryPaymentException
- All Implemented Interfaces:
- Serializable
public class RetryPaymentException
- extends Exception
- Author:
- brpocock
- See Also:
- Serialized Form
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
message
private final String message
p
private final Payment p
retry
private Date retry
title
private final String title
RetryPaymentException
public RetryPaymentException(String title,
String message,
Payment p)
- Parameters:
title
- The title of the message to show the usermessage
- A detailed explanation of the delay in
user-visible termsp
- The payment object which needs to be retried.
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
- See Also:
Throwable.getMessage()
getTitle
public String getTitle()
- Returns:
- the title of the retry message
retry
public void retry()
throws UnsupportedCurrencyException,
NotFoundException,
UnsupportedCredentialException,
IOException,
RetryPaymentException
- Throws:
UnsupportedCurrencyException
NotFoundException
UnsupportedCredentialException
IOException
RetryPaymentException
setRetry
public void setRetry(Date retry)
getRetry
public Date getRetry()