Class DOMExceptionImpl

All Implemented Interfaces:
Serializable

public class DOMExceptionImpl extends DOMException
Custom DOMException extension.
See Also:
  • Field Details

    • SYNTAX_ERROR

      public static final int SYNTAX_ERROR
      SYNTAX_ERROR = 0.
      See Also:
    • INDEX_OUT_OF_BOUNDS

      public static final int INDEX_OUT_OF_BOUNDS
      INDEX_OUT_OF_BOUNDS = 1.
      See Also:
    • READ_ONLY_STYLE_SHEET

      public static final int READ_ONLY_STYLE_SHEET
      READ_ONLY_STYLE_SHEET = 2.
      See Also:
    • EXPECTING_STYLE_RULE

      public static final int EXPECTING_STYLE_RULE
      EXPECTING_STYLE_RULE = 3.
      See Also:
    • EXPECTING_CHARSET_RULE

      public static final int EXPECTING_CHARSET_RULE
      EXPECTING_CHARSET_RULE = 4.
      See Also:
    • EXPECTING_IMPORT_RULE

      public static final int EXPECTING_IMPORT_RULE
      EXPECTING_IMPORT_RULE = 5.
      See Also:
    • EXPECTING_MEDIA_RULE

      public static final int EXPECTING_MEDIA_RULE
      EXPECTING_MEDIA_RULE = 6.
      See Also:
    • EXPECTING_FONT_FACE_RULE

      public static final int EXPECTING_FONT_FACE_RULE
      EXPECTING_FONT_FACE_RULE = 7.
      See Also:
    • EXPECTING_PAGE_RULE

      public static final int EXPECTING_PAGE_RULE
      EXPECTING_PAGE_RULE = 8.
      See Also:
    • FLOAT_ERROR

      public static final int FLOAT_ERROR
      FLOAT_ERROR = 9.
      See Also:
    • STRING_ERROR

      public static final int STRING_ERROR
      STRING_ERROR = 10.
      See Also:
    • CHARSET_NOT_FIRST

      public static final int CHARSET_NOT_FIRST
      CHARSET_NOT_FIRST = 11.
      See Also:
    • CHARSET_NOT_UNIQUE

      public static final int CHARSET_NOT_UNIQUE
      CHARSET_NOT_UNIQUE = 12.
      See Also:
    • IMPORT_NOT_FIRST

      public static final int IMPORT_NOT_FIRST
      IMPORT_NOT_FIRST = 13.
      See Also:
    • NOT_FOUND

      public static final int NOT_FOUND
      NOT_FOUND = 14.
      See Also:
    • NOT_IMPLEMENTED

      public static final int NOT_IMPLEMENTED
      NOT_IMPLEMENTED = 15.
      See Also:
    • INSERT_BEFORE_IMPORT

      public static final int INSERT_BEFORE_IMPORT
      INSERT_BEFORE_IMPORT = 16.
      See Also:
    • messages

      static final String[] messages
  • Constructor Details

    • DOMExceptionImpl

      public DOMExceptionImpl(short code, int messageKey)
      Ctor.
      Parameters:
      code - the code
      messageKey - the message key
    • DOMExceptionImpl

      public DOMExceptionImpl(int code, int messageKey)
      Ctor.
      Parameters:
      code - the code
      messageKey - the message key
    • DOMExceptionImpl

      public DOMExceptionImpl(int code, int messageKey, String info)
      Ctor.
      Parameters:
      code - the code
      messageKey - the message key
      info - additional info