|
||||||||||
| 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.xml.sax.SAXException
org.jfree.xml.ParseException
public class ParseException
A parse exception.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.xml.sax.SAXException |
|---|
getCause, getException |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ParseException(String message)
message - the messagepublic ParseException(Exception e)
e - the exception
public ParseException(String s,
Exception e)
s - the messagee - the exception
public ParseException(String message,
Locator locator)
message - the messagelocator - the locator of the parser
public ParseException(Exception e,
Locator locator)
e - the exceptionlocator - the locator of the parser
public ParseException(String s,
Exception e,
Locator locator)
s - the messagee - the exceptionlocator - the locator of the parser| Method Detail |
|---|
public String getMessage()
getMessage in class SAXExceptionprotected void fillLocation(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 SAXExceptionpublic void printStackTrace(PrintWriter writer)
printStackTrace in class Throwablewriter - the writer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||