All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.jclark.xml.parse.NotWellFormedException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.io.IOException
                           |
                           +----com.jclark.xml.parse.NotWellFormedException

public class NotWellFormedException
extends IOException
implements ParseLocation
Thrown when an XML document is not well-formed.


Method Index

 o getByteIndex()
Returns the index of the byte in the entity where the error occurred.
 o getColumnNumber()
Returns the column number where the error occurred.
 o getEntityBase()
Returns the URL used as the base URL for resolving relative URLs contained in the entity where the error occurred.
 o getEntityLocation()
Returns the location of the external entity where the the error occurred in a form suitable for use in an error message.
 o getLineNumber()
Returns the line number where the error occured.
 o getMessageWithoutLocation()
Returns a description of the error that does not include the location of the error.

Methods

 o getEntityLocation
 public final String getEntityLocation()
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.

 o getEntityBase
 public final URL getEntityBase()
Returns the URL used as the base URL for resolving relative URLs contained in the entity where the error occurred.

 o getLineNumber
 public final int getLineNumber()
Returns the line number where the error occured. The first line has number 1.

 o getColumnNumber
 public final int getColumnNumber()
Returns the column number where the error occurred. The first column has number 0.

 o getByteIndex
 public final long getByteIndex()
Returns the index of the byte in the entity where the error occurred. The first byte has offset 0.

 o getMessageWithoutLocation
 public final String getMessageWithoutLocation()
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.


All Packages  Class Hierarchy  This Package  Previous  Next  Index