Class TDOMException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.w3c.dom.DOMException
                  extended byTDOMException
All Implemented Interfaces:
java.io.Serializable

public class TDOMException
extends org.w3c.dom.DOMException

In addition to DOM exceptions, TDOM raises some more exceptions, i.e., if an operation violates temporal constraints.

See Also:
Serialized Form

Field Summary
 short code
          Exception code.
static short INAPPROP_TIME_MODE
          The method called is not used in the current TDOM's working mode.
static short INVALID_DATE_FORMAT
          The given date format string is not valid.
static short INVALID_INDEX
          An invalid index is specified.
static short INVALID_TIME_EXTENT
          Can't instantiate a Period because the specified ending instant is before or same as the specified beginning instant.
static short INVALID_TIME_INSTANT
          The date string doesn't follow the expected format.
static short MODE_FIXED
          Mode is already fixed and is not changable.
 
Fields inherited from class org.w3c.dom.DOMException
DOMSTRING_SIZE_ERR, HIERARCHY_REQUEST_ERR, INDEX_SIZE_ERR, INUSE_ATTRIBUTE_ERR, INVALID_ACCESS_ERR, INVALID_CHARACTER_ERR, INVALID_MODIFICATION_ERR, INVALID_STATE_ERR, NAMESPACE_ERR, NO_DATA_ALLOWED_ERR, NO_MODIFICATION_ALLOWED_ERR, NOT_FOUND_ERR, NOT_SUPPORTED_ERR, SYNTAX_ERR, WRONG_DOCUMENT_ERR
 
Constructor Summary
protected TDOMException(short code, java.lang.String message)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code

public short code
Exception code.


INAPPROP_TIME_MODE

public static final short INAPPROP_TIME_MODE
The method called is not used in the current TDOM's working mode.

See Also:
Constant Field Values

INVALID_DATE_FORMAT

public static final short INVALID_DATE_FORMAT
The given date format string is not valid.

See Also:
Constant Field Values

INVALID_TIME_INSTANT

public static final short INVALID_TIME_INSTANT
The date string doesn't follow the expected format.

See Also:
Constant Field Values

INVALID_TIME_EXTENT

public static final short INVALID_TIME_EXTENT
Can't instantiate a Period because the specified ending instant is before or same as the specified beginning instant.

See Also:
Constant Field Values

INVALID_INDEX

public static final short INVALID_INDEX
An invalid index is specified.

See Also:
Constant Field Values

MODE_FIXED

public static final short MODE_FIXED
Mode is already fixed and is not changable.

See Also:
Constant Field Values
Constructor Detail

TDOMException

protected TDOMException(short code,
                        java.lang.String message)