org.starhope.appius.except
Class AlreadyUsedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.starhope.appius.except.AlreadyUsedException
All Implemented Interfaces:
Serializable

public class AlreadyUsedException
extends Exception

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

Field Summary
private  String reason
          WRITEME: document this field (brpocock@star-hope.org, Nov 5, 2009) reason (AlreadyUsedException)
private static long serialVersionUID
          Java serialisation unique ID
private  Date when
          WRITEME: document this field (brpocock@star-hope.org, Nov 5, 2009) when (AlreadyUsedException)
 
Constructor Summary
AlreadyUsedException(int i)
          WRITEME: Document this constructor brpocock@star-hope.org
AlreadyUsedException(String reason1, Date date)
           
 
Method Summary
 String getReason()
           
 Date getWhen()
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
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
Java serialisation unique ID

See Also:
Constant Field Values

reason

private final String reason
WRITEME: document this field (brpocock@star-hope.org, Nov 5, 2009) reason (AlreadyUsedException)


when

private final Date when
WRITEME: document this field (brpocock@star-hope.org, Nov 5, 2009) when (AlreadyUsedException)

Constructor Detail

AlreadyUsedException

public AlreadyUsedException(int i)
WRITEME: Document this constructor brpocock@star-hope.org

Parameters:
i - some number

AlreadyUsedException

public AlreadyUsedException(String reason1,
                            Date date)
Parameters:
reason1 - WRITEME
date - WRITEME
Method Detail

getReason

public String getReason()
Returns:
the reason

getWhen

public Date getWhen()
Returns:
the when

toString

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