class LogicErrorException
Inherited from: Exception. Inherited by: InvalidArgumentException, InvalidOperationException, LengthErrorException, and OutOfRangeException.
The LogicErrorException class defines a type of exception object that reports logic errors.