com.hp.hpl.sparta
Class ParseException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.hp.hpl.sparta.ParseException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- EncodingMismatchException
- public class ParseException
- extends java.lang.Exception
Thrown when error parsing XML or XPath.
Copyright (C) 2002 Hewlett-Packard Company.
This file is part of Sparta, an XML Parser, DOM, and XPath library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version. This library
is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
- Version:
- $Date: 2002/08/19 05:03:58 $ $Revision: 1.1.1.1 $
- Author:
- Eamonn O'Brien-Strain
- See Also:
- GNU Lesser General Public License, Serialized Form
Constructor Summary |
ParseException(com.hp.hpl.sparta.ParseCharStream source,
char actual,
char expected)
|
ParseException(com.hp.hpl.sparta.ParseCharStream source,
char actual,
char[] expected)
Precondition: expected.length > 0 |
ParseException(com.hp.hpl.sparta.ParseCharStream source,
char actual,
java.lang.String expected)
|
ParseException(com.hp.hpl.sparta.ParseCharStream source,
java.lang.String msg)
|
ParseException(com.hp.hpl.sparta.ParseCharStream source,
java.lang.String actual,
char[] expected)
|
ParseException(com.hp.hpl.sparta.ParseCharStream source,
java.lang.String actual,
java.lang.String expected)
|
ParseException(ParseLog log,
java.lang.String systemId,
int lineNumber,
int lastCharRead,
java.lang.String history,
java.lang.String msg)
|
ParseException(java.lang.String msg)
|
ParseException(java.lang.String systemId,
int lineNumber,
int lastCharRead,
java.lang.String history,
java.lang.String msg)
|
ParseException(java.lang.String msg,
java.lang.Throwable cause)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParseException
public ParseException(java.lang.String msg)
ParseException
public ParseException(java.lang.String msg,
java.lang.Throwable cause)
ParseException
public ParseException(java.lang.String systemId,
int lineNumber,
int lastCharRead,
java.lang.String history,
java.lang.String msg)
ParseException
public ParseException(ParseLog log,
java.lang.String systemId,
int lineNumber,
int lastCharRead,
java.lang.String history,
java.lang.String msg)
ParseException
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
java.lang.String msg)
ParseException
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
char actual,
char expected)
ParseException
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
char actual,
char[] expected)
- Precondition: expected.length > 0
ParseException
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
char actual,
java.lang.String expected)
ParseException
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
java.lang.String actual,
java.lang.String expected)
ParseException
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
java.lang.String actual,
char[] expected)
getLineNumber
public int getLineNumber()
getCause
public java.lang.Throwable getCause()