LogicError class
Base class for errors that can be detected before the program executes.
Mimics C++ std::logic_error.
- Inheritance
-
- Object
- StdException
- LogicError
- Implementers
Constructors
- LogicError(String message)
-
Creates a LogicError with the given
message.const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
what(
) → String -
Returns the explanatory string (analogous to
what()in C++).inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited