Programmer's Guide > Interfaces > WindowException exception > WindowExceptionCode enumeration
  
WindowExceptionCode enumeration
An integer indicating the type of error generated.
The WindowExceptionCode enumeration has the following constants of type unsigned short.
NOT_SUPPORTED_ERR = 1
The implementation does not support the requested type of object or operation.
HIERARCHY_REQUEST_ERR = 2
An attempt to insert a component in an invalid location.
WRONG_WINDOW_ERR = 3
A component is used in a window other than the one that created it (and doesn't support the component).
NOT_FOUND_ERR = 4
An attempt to reference a component or window in a context where it does not exist.
INVALID_COLOR_ERR = 5
An attempt to set color with an unsupported color name or invalid RGB specification.
INVALID_MODIFICATION_ERR = 6
An attempt to modify the type of the underlying object.
NO_MODIFICATION_ALLOWED_ERR = 7
An attempt to modify a read-only text.
NO_DOCKING_ALLOWED_ERR = 8
An attempt to dock a window which is not dockable.
INVALID_DOCKING_ERR = 9
An attempt to dock a dockable window to a main window edge which is not enabled for the dockable window.