Class DOMCharacterException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DOMNullCharacterException

public class DOMCharacterException extends DOMException
Invalid DOM character exception.

Provides a method to recover the index at which the problem occurred.

See Also:
  • Constructor Details

    • DOMCharacterException

      public DOMCharacterException(int index)
    • DOMCharacterException

      public DOMCharacterException(String message, int index)
  • Method Details

    • getIndex

      public int getIndex()
      Get the index at which the problem was found.
      Returns:
      the index, starting at 0, or -1 if no index could be determined.