org.jfree.xml
Class ParseException
SAXException
org.jfree.xml.ParseException
A parse exception.
ParseException(Exception e) - Creates a new ParseException with the given root exception.
|
ParseException(Exception e, Locator locator) - Creates a new ParseException with the given root exception
and the locator.
|
ParseException(String message) - Creates a new ParseException with the given message.
|
ParseException(String s, Exception e) - Creates a new ParseException with the given message and root exception.
|
ParseException(String s, Exception e, Locator locator) - Creates a new ParseException with the given message, root exception
and the locator.
|
ParseException(String message, Locator locator) - Creates a new ParseException with the given message and the locator.
|
protected void | fillLocation(Locator locator) - Fills the location with the given locator.
|
int | getColumn() - Returns the column of the parse position where the error occured.
|
int | getLine() - Returns the line of the parse position where the error occured.
|
String | getMessage() - Modifies the message to give more detailed location information.
|
void | printStackTrace(PrintStream stream) - Prints the stack trace to the specified stream.
|
void | printStackTrace(PrintWriter writer) - Prints the stack trace to the specified writer.
|
String | toString() - Override toString to pick up any embedded exception.
|
ParseException
public ParseException(Exception e)
Creates a new ParseException with the given root exception.
ParseException
public ParseException(Exception e,
Locator locator)
Creates a new ParseException with the given root exception
and the locator.
e
- the exceptionlocator
- the locator of the parser
ParseException
public ParseException(String message)
Creates a new ParseException with the given message.
ParseException
public ParseException(String s,
Exception e)
Creates a new ParseException with the given message and root exception.
s
- the messagee
- the exception
ParseException
public ParseException(String s,
Exception e,
Locator locator)
Creates a new ParseException with the given message, root exception
and the locator.
s
- the messagee
- the exceptionlocator
- the locator of the parser
ParseException
public ParseException(String message,
Locator locator)
Creates a new ParseException with the given message and the locator.
message
- the messagelocator
- the locator of the parser
fillLocation
protected void fillLocation(Locator locator)
Fills the location with the given locator.
locator
- the locator or null.
getColumn
public int getColumn()
Returns the column of the parse position where the error occured.
- the column number or -1 if not known.
getLine
public int getLine()
Returns the line of the parse position where the error occured.
- the line number or -1 if not known.
getMessage
public String getMessage()
Modifies the message to give more detailed location information.
- the modified exception message.
printStackTrace
public void printStackTrace(PrintStream stream)
Prints the stack trace to the specified stream.
stream
- the output stream.
printStackTrace
public void printStackTrace(PrintWriter writer)
Prints the stack trace to the specified writer.
toString
public String toString()
Override toString to pick up any embedded exception.
- A string representation of this exception.