    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.

##

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

##

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

##

ILLEGAL_CHAR

     public static final byte ILLEGAL_CHAR

  The character or byte at the specified offset is not allowed at that point.

XML_TARGET

     public static final byte XML_TARGET

  The target of a processing instruction was XML.

DUPLICATE_ATTRIBUTE

     public static final byte DUPLICATE_ATTRIBUTE

  A duplicate attribute was specified.

##

getOffset

     public final int getOffset()

  Returns the offset after the longest initial subarray which could start a legal XML token.

getType

     public final byte getType()

    All Packages  Class Hierarchy  This Package  Previous  Next  Index