Programmer's Guide > Interfaces > TableException exception > TableExceptionCode enumeration
  
TableExceptionCode enumeration
An integer defining the errors generated by the Table AOM methods
The TableExceptionCode enumeration has the following constants of type unsigned short.
OPERATION_FAILED_ERR = 1
The operation failed because the table model did not allow it.
INVALID_INDEX_ERR = 2
An invalid row or column index, less than 1 or greater than the number of rows or columns.
INVALID_DIRECTION_ERR = 3
A direction must be 0 (right), 1 (below), 2 (left), or 3 (above).
INVALID_ORIENTATION_ERR = 4
An orientation must be 0 (vertical) or 1 (horizontal)
INVALID_SPAN_ERR = 5
Attempt to create or use an invalid cell or rule span.
INVALID_PARAMETER_ERR = 6
An invalid parameter was passed to a table method.
INVALID_ATTRIBUTE_ERR = 7
An invalid table attribute name was passed to a table attribute method.