|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception jindent.JindentException
public class JindentException
This exception will be thrown if an error in Jindent occurs while parsing, reading or writing. Please read the exception messages to get detailed information about the errors.
Constructor Summary | |
---|---|
JindentException()
Constructs a Jindent exception without a message. |
|
JindentException(String msg)
Constructs a Jindent exception with a message. |
|
JindentException(String msg,
int c,
int l)
Constructs a Jindent exception with a message and informations about the column and line where the error occured. |
Method Summary | |
---|---|
int |
getColumn()
Gets input column where the error occured. |
int |
getLine()
Gets input line where the error occured. |
boolean |
hasColumnAndLineNumber()
Has this exception informations about column and line number? |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JindentException()
public JindentException(String msg)
msg
- detailed exception messagepublic JindentException(String msg, int c, int l)
msg
- detailed exception message.c
- column of error.l
- line of error.Method Detail |
---|
public int getColumn()
public int getLine()
public boolean hasColumnAndLineNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |