| java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException com.jclark.xml.parse.NotWellFormedException
NotWellFormedException | public class NotWellFormedException extends java.io.IOException implements ParseLocation(Code) | | Thrown when an XML document is not well-formed.
version: $Revision: 1.5 $ $Date: 1998/05/25 03:39:22 $ |
Method Summary | |
final public long | getByteIndex() Returns the index of the byte in the entity where the error occurred. | final public int | getColumnNumber() Returns the column number where the error occurred. | final public URL | getEntityBase() Returns the URL used as the base URL for resolving relative URLs
contained in the entity where the error occurred. | final public String | getEntityLocation() Returns the location of the external entity where the
the error occurred in a form suitable for use in an error message. | final public int | getLineNumber() Returns the line number where the error occured. | final public String | getMessageWithoutLocation() Returns a description of the error that does not include
the location of the error. |
NotWellFormedException | NotWellFormedException(String message, String messageWithoutLocation, String entityLocation, URL entityBase, int lineNumber, int columnNumber, long byteIndex)(Code) | | |
getByteIndex | final public long getByteIndex()(Code) | | Returns the index of the byte in the entity where the error occurred.
The first byte has offset 0.
|
getColumnNumber | final public int getColumnNumber()(Code) | | Returns the column number where the error occurred.
The first column has number 0.
|
getEntityBase | final public URL getEntityBase()(Code) | | Returns the URL used as the base URL for resolving relative URLs
contained in the entity where the error occurred.
|
getEntityLocation | final public String getEntityLocation()(Code) | | Returns the location of the external entity where the
the error occurred in a form suitable for use in an error message.
This is typically a URI or a filename.
|
getLineNumber | final public int getLineNumber()(Code) | | Returns the line number where the error occured.
The first line has number 1.
|
getMessageWithoutLocation | final public String getMessageWithoutLocation()(Code) | | Returns a description of the error that does not include
the location of the error.
getMessage returns a description of the error
that does include the location.
|
|
|