|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.tridas.io.exceptions.InvalidDendroFileException
public class InvalidDendroFileException
This is thrown when a fatal error is found in the input dendro data file. The reason for the error is given along with the line number.
Nested Class Summary | |
---|---|
static class |
InvalidDendroFileException.PointerType
|
Constructor Summary | |
---|---|
InvalidDendroFileException(String reason)
Constructor for this exception when there is no specific position in the file where the error occurred e.g. |
|
InvalidDendroFileException(String reason,
int linenumber)
Constructor for this exception when providing line number of erroneous input file |
|
InvalidDendroFileException(String reason,
int pointernumber,
InvalidDendroFileException.PointerType type)
Construct an exception. |
|
InvalidDendroFileException(String reason,
String pointervalue,
InvalidDendroFileException.PointerType type)
Construct an exception. |
Method Summary | |
---|---|
String |
getLocalizedMessage()
|
String |
getPointerNumber()
Get the line or byte number of the dendro file where this exception occurred |
InvalidDendroFileException.PointerType |
getPointerType()
|
String |
getReason()
Get the reason for this exception |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, 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 |
Constructor Detail |
---|
public InvalidDendroFileException(String reason)
reason
- public InvalidDendroFileException(String reason, int linenumber)
reason
- linenumber
- public InvalidDendroFileException(String reason, int pointernumber, InvalidDendroFileException.PointerType type)
reason
- pointernumber
- type
- public InvalidDendroFileException(String reason, String pointervalue, InvalidDendroFileException.PointerType type)
reason
- pointervalue
- type
- Method Detail |
---|
public String getPointerNumber()
public String getReason()
public InvalidDendroFileException.PointerType getPointerType()
public String getLocalizedMessage()
getLocalizedMessage
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |