TimeFormatException class abstract
Exception thrown when an invalid time format is encountered.
- Implemented types
- Implementers
Constructors
- TimeFormatException([String? message])
-
Creates a TimeFormatException object.
const
- TimeFormatException.withValue(int? value, [String? message])
-
Creates a TimeFormatException object that includes the value that
triggered this exception.
const
Properties
Methods
-
getErrorMessage(
{required String exceptionType, required int? min, required int? max}) → String - Constructs the error message for this exception.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited