The object is in an unappropriate state to execute the given action.
The state the object was in.
Numeric identifier of this error, so that it can be told apart without relying on instanceof.
instanceof
Always INVALID_STATE_ERROR.
INVALID_STATE_ERROR
The state the object was in when the operation was requested.
The object is in an unappropriate state to execute the given action.