org.starhope.appius.pay.util
Class RetryPaymentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.starhope.appius.pay.util.RetryPaymentException
All Implemented Interfaces:
Serializable

public class RetryPaymentException
extends Exception

Author:
brpocock@star-hope.org
See Also:
Serialized Form

Field Summary
private  String message
          WRITEME: document this field (brpocock@star-hope.org, Nov 20, 2009) message (RetryPaymentException)
private  Payment p
          WRITEME: document this field (brpocock@star-hope.org, Nov 20, 2009) p (RetryPaymentException)
private  Date retry
          WRITEME: document this field (brpocock@star-hope.org, Nov 20, 2009) retry (RetryPaymentException)
private static long serialVersionUID
           
private  String title
          WRITEME: document this field (brpocock@star-hope.org, Nov 20, 2009) title (RetryPaymentException)
 
Constructor Summary
RetryPaymentException(String title1, String message1, Payment p1)
           
 
Method Summary
 String getMessage()
           
 Date getRetry()
          WRITEME: document this method (brpocock@star-hope.org, Oct 13, 2009)
 String getTitle()
           
 void retry()
           
 void setRetry(Date retry1)
          WRITEME: document this method (brpocock@star-hope.org, Sep 23, 2009)
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

message

private final String message
WRITEME: document this field (brpocock@star-hope.org, Nov 20, 2009) message (RetryPaymentException)


p

private final Payment p
WRITEME: document this field (brpocock@star-hope.org, Nov 20, 2009) p (RetryPaymentException)


retry

private Date retry
WRITEME: document this field (brpocock@star-hope.org, Nov 20, 2009) retry (RetryPaymentException)


title

private final String title
WRITEME: document this field (brpocock@star-hope.org, Nov 20, 2009) title (RetryPaymentException)

Constructor Detail

RetryPaymentException

public RetryPaymentException(String title1,
                             String message1,
                             Payment p1)
Parameters:
title1 - The title of the message to show the user
message1 - A detailed explanation of the delay in user-visible terms
p1 - The payment object which needs to be retried.
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable
See Also:
Throwable.getMessage()

getRetry

public Date getRetry()
WRITEME: document this method (brpocock@star-hope.org, Oct 13, 2009)

Returns:
WRITEME

getTitle

public String getTitle()
Returns:
the title of the retry message

retry

public void retry()
           throws UnsupportedCurrencyException,
                  NotFoundException,
                  UnsupportedCredentialException,
                  IOException,
                  RetryPaymentException,
                  GameLogicException,
                  AlreadyUsedException,
                  DataException
Throws:
UnsupportedCurrencyException - WRITEME
NotFoundException - WRITEME
UnsupportedCredentialException - WRITEME
IOException - WRITEME
RetryPaymentException - WRITEME
DataException - WRITEME
AlreadyUsedException - WRITEME
GameLogicException - WRITEME

setRetry

public void setRetry(Date retry1)
WRITEME: document this method (brpocock@star-hope.org, Sep 23, 2009)

Parameters:
retry1 - WRITEME