public class ParseException
extends org.xml.sax.SAXException
| Constructor and Description |
|---|
ParseException(Exception e)
Creates a new ParseException with the given root exception.
|
ParseException(Exception e,
org.xml.sax.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,
org.xml.sax.Locator locator)
Creates a new ParseException with the given message, root exception
and the locator.
|
ParseException(String message,
org.xml.sax.Locator locator)
Creates a new ParseException with the given message and the locator.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fillLocation(org.xml.sax.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.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTracepublic ParseException(String message)
message - the messagepublic ParseException(Exception e)
e - the exceptionpublic ParseException(String s, Exception e)
s - the messagee - the exceptionpublic ParseException(String message, org.xml.sax.Locator locator)
message - the messagelocator - the locator of the parserpublic ParseException(Exception e, org.xml.sax.Locator locator)
e - the exceptionlocator - the locator of the parserpublic String getMessage()
getMessage in class org.xml.sax.SAXExceptionprotected void fillLocation(org.xml.sax.Locator locator)
locator - the locator or null.public int getLine()
public int getColumn()
public void printStackTrace(PrintStream stream)
printStackTrace in class Throwablestream - the output stream.public String toString()
toString in class org.xml.sax.SAXExceptionpublic void printStackTrace(PrintWriter writer)
printStackTrace in class Throwablewriter - the writer.Copyright © 2001-2014 JFree.org. All Rights Reserved.