org.starhope.appius.except
Class DataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.starhope.appius.except.DataException
- All Implemented Interfaces:
- Serializable
public class DataException
- extends Exception
A DataException is thrown when a parameter that is passed into some
Star-Hope routine or other is invalid, out-of-range, or badly-formed.
- Author:
- brpocock
- See Also:
- Serialized Form
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
complaint
private final String complaint
- TODO: document this field (brpocock, Nov 5, 2009)
complaint (DataException)
DataException
public DataException(String string)
- Parameters:
string
- The string complaint, which is stored in the
Exception; while it's not expected to be an
internationalised or localised string, it should be
concise and clear enough for programmer usage during
debugging
getComplaint
public String getComplaint()
- Returns:
- the string value stored in the Exception
toString
public String toString()
- Overrides:
toString
in class Throwable
- See Also:
Throwable.toString()