All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.jclark.xml.tok.InvalidTokenException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----com.jclark.xml.tok.TokenException
                           |
                           +----com.jclark.xml.tok.InvalidTokenException

public class InvalidTokenException
extends TokenException
Thrown to indicate that the byte subarray being tokenized does not start with a legal XML token and cannot start one if more bytes are added.


Variable Index

 o DUPLICATE_ATTRIBUTE
A duplicate attribute was specified.
 o ILLEGAL_CHAR
The character or byte at the specified offset is not allowed at that point.
 o XML_TARGET
The target of a processing instruction was XML.

Method Index

 o getOffset()
Returns the offset after the longest initial subarray which could start a legal XML token.
 o getType()

Variables

 o ILLEGAL_CHAR
 public static final byte ILLEGAL_CHAR
The character or byte at the specified offset is not allowed at that point.

 o XML_TARGET
 public static final byte XML_TARGET
The target of a processing instruction was XML.

 o DUPLICATE_ATTRIBUTE
 public static final byte DUPLICATE_ATTRIBUTE
A duplicate attribute was specified.

Methods

 o getOffset
 public final int getOffset()
Returns the offset after the longest initial subarray which could start a legal XML token.

 o getType
 public final byte getType()

All Packages  Class Hierarchy  This Package  Previous  Next  Index