|
||||||||||
| 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.jrdf.parser.ParseException
public class ParseException
A parse exception that can be thrown by a parser when it encounters an error from which it cannot or doesn't want to recover.
| Constructor Summary | |
|---|---|
ParseException(Exception newSource,
int newLineNumber,
int newColumnNumber)
Creates a new ParseException wrapping another exception. |
|
ParseException(String newMessage,
Exception newSource,
int newLineNumber,
int newColumnNumber)
Creates a new ParseException wrapping another exception. |
|
ParseException(String newMessage,
int newColumnNumber)
Creates a new ParseException. |
|
ParseException(String newMessage,
int newLineNumber,
int newColumnNumber)
Creates a new ParseException. |
|
| Method Summary | |
|---|---|
int |
getColumnNumber()
Gets the column number associated with this parse exception. |
int |
getLineNumber()
Gets the line number associated with this parse exception. |
void |
printStackTrace()
|
void |
printStackTrace(PrintStream ps)
|
void |
printStackTrace(PrintWriter pw)
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ParseException(String newMessage,
int newColumnNumber)
newMessage - An error message.newColumnNumber - A column number associated with the message.
public ParseException(String newMessage,
int newLineNumber,
int newColumnNumber)
newMessage - An error message.newLineNumber - A line number associated with the message.newColumnNumber - A column number associated with the message.
public ParseException(String newMessage,
Exception newSource,
int newLineNumber,
int newColumnNumber)
newMessage - An error message.newSource - The source exception.newLineNumber - A line number associated with the message.newColumnNumber - A column number associated with the message.
public ParseException(Exception newSource,
int newLineNumber,
int newColumnNumber)
newSource - The source exception.newLineNumber - A line number associated with the message.newColumnNumber - A column number associated with the message.| Method Detail |
|---|
public void printStackTrace()
printStackTrace in class Throwablepublic void printStackTrace(PrintStream ps)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter pw)
printStackTrace in class Throwablepublic int getLineNumber()
public int getColumnNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||