org.pz.platypus.exceptions
Class PlatyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.pz.platypus.exceptions.PlatyException
- All Implemented Interfaces:
- java.io.Serializable, IException
- Direct Known Subclasses:
- EolTreatmentException, FileCloseException, InvalidConfigFileException
public class PlatyException
- extends java.lang.RuntimeException
- implements IException
Basic template for all Platypus-specific runtime exceptions
- Author:
- alb
- See Also:
- Serialized Form
Field Summary |
private java.lang.String |
explanation
a string to look up in Literals() that identifies the nature of the exception |
private java.lang.String |
location
any method-specific string that adds further info about the location or context of
the exception; |
Constructor Summary |
PlatyException(java.lang.String explain)
|
PlatyException(java.lang.String explain,
java.lang.String locate)
The most common form of constructor |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
explanation
private java.lang.String explanation
- a string to look up in Literals() that identifies the nature of the exception
location
private java.lang.String location
- any method-specific string that adds further info about the location or context of
the exception;
PlatyException
public PlatyException(java.lang.String explain)
- Parameters:
explain
- literal to look up in Literals that explains the problem
PlatyException
public PlatyException(java.lang.String explain,
java.lang.String locate)
- The most common form of constructor
- Parameters:
explain
- literal to look up in Literals that explains the problemlocate
- any additional info that might indicate location
getExplanation
public java.lang.String getExplanation()
- Specified by:
getExplanation
in interface IException
getLocation
public java.lang.String getLocation()
- Specified by:
getLocation
in interface IException
Copyright © 2008-10 Pacific Data Works LLC