public class ParseException extends Exception
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.
| 构造器和说明 |
|---|
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,
String expected) |
ParseException(com.hp.hpl.sparta.ParseCharStream source,
String msg) |
ParseException(com.hp.hpl.sparta.ParseCharStream source,
String actual,
char[] expected) |
ParseException(com.hp.hpl.sparta.ParseCharStream source,
String actual,
String expected) |
ParseException(ParseLog log,
String systemId,
int lineNumber,
int lastCharRead,
String history,
String msg) |
ParseException(String msg) |
ParseException(String systemId,
int lineNumber,
int lastCharRead,
String history,
String msg) |
ParseException(String msg,
Throwable cause) |
| 限定符和类型 | 方法和说明 |
|---|---|
Throwable |
getCause() |
int |
getLineNumber() |
public ParseException(String msg)
public ParseException(String systemId, int lineNumber, int lastCharRead, String history, String msg)
public ParseException(ParseLog log, String systemId, int lineNumber, int lastCharRead, String history, String msg)
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
String msg)
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
char actual,
char expected)
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
char actual,
char[] expected)
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
char actual,
String expected)
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
String actual,
String expected)
public ParseException(com.hp.hpl.sparta.ParseCharStream source,
String actual,
char[] expected)
Copyright © 2016. All Rights Reserved.