| java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.jidesoft.plaf.aqua.XMLParseException
XMLParseException | class XMLParseException extends RuntimeException (Code) | | An XMLParseException is thrown when an error occures while parsing an XML
string.
$Revision: 1.4 $
$Date: 2002/03/24 10:27:59 $
author: Marc De Scheemaecker version: $Name: RELEASE_2_2_1 $, $Revision: 1.4 $ See Also: XMLElement |
Field Summary | |
final public static int | NO_LINE Indicates that no line number has been associated with this exception. |
Method Summary | |
public int | getLineNr() Where the error occurred, or NO_LINE if the line number is
unknown. |
NO_LINE | final public static int NO_LINE(Code) | | Indicates that no line number has been associated with this exception.
|
XMLParseException | public XMLParseException(String name, String message)(Code) | | Creates an exception.
Parameters: name - The name of the element where the error is located. Parameters: message - A message describing what went wrong.- Preconditions:
- Postconditions:
|
XMLParseException | public XMLParseException(String name, int lineNr, String message)(Code) | | Creates an exception.
Parameters: name - The name of the element where the error is located. Parameters: lineNr - The number of the line in the input. Parameters: message - A message describing what went wrong.- Preconditions:
message != null lineNr > 0
- Postconditions:
|
getLineNr | public int getLineNr()(Code) | | Where the error occurred, or NO_LINE if the line number is
unknown.
See Also: nanoxml.XMLParseException.NO_LINE |
|
|