EInvalidOperationException Class

Definition

The exception that is thrown when a method call is not valid for the object's current state.

Delphi
EInvalidOperationException = class(Exception)
Inheritance
Exception
EInvalidOperationException