StateError class

The operation was not allowed by the current state of the object.

The operation was not allowed by the current state of the object.

This is a generic error used for a variety of different erroneous actions. The message should be descriptive.

Extends:

Constructors

StateError ( String message )

Instance Properties

message String
read-only
stackTrace StackTrace Inherited
read-only

Instance Methods

toString ( ) → String
Returns a string representation of this object.