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.
   
  -   getByteIndex() getByteIndex()
-   Returns the index of the byte in the entity where the error occurred.
  
-   getColumnNumber() getColumnNumber()
-   Returns the column number where the error occurred.
  
-   getEntityBase() getEntityBase()
-   Returns the URL used as the base URL for resolving relative URLs
 contained in the entity where the error occurred.
  
-   getEntityLocation() getEntityLocation()
-   Returns the location of the external entity where the
 the error occurred in a form suitable for use in an error message.
  
-   getLineNumber() getLineNumber()
-   Returns the line number where the error occured.
  
-   getMessageWithoutLocation() getMessageWithoutLocation()
-   Returns a description of the error that does not include
 the location of the error.
   
 getEntityLocation
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.
 
 getEntityBase
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.
 
 getLineNumber
getLineNumber
 public final int getLineNumber()
  -  Returns the line number where the error occured.
 The first line has number 1.
 
 getColumnNumber
getColumnNumber
 public final int getColumnNumber()
  -  Returns the column number where the error occurred.
 The first column has number 0.
 
 getByteIndex
getByteIndex
 public final long getByteIndex()
  -  Returns the index of the byte in the entity where the error occurred.
 The first byte has offset 0.
 
 getMessageWithoutLocation
getMessageWithoutLocation
 public final String getMessageWithoutLocation()
  -  Returns a description of the error that does not include
 the location of the error.
 getMessagereturns a description of the error
 that does include the location.
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index