UnknownException class
Exceptions that are not expected but handled in the else part and sent to the user interface.
User interface must globally listen to this exception and show an error message to the user.
- Inheritance
-
- Object
- NamedException
- UnknownException
Constructors
- UnknownException({StackTrace stackTrace = StackTrace.empty})
-
const
Properties
- category → Type
-
category is either the super class or this class.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
An identifer for the exception.
Default to the class's runtimeType.
no setterinherited
- name → String
-
A more user readable exception name than the key.
Default to key unless otherwise specified.
no setterinherited
- problem → String
-
Problem statement of the Exception.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → ExceptionSeverity
-
Severity can be none, warning or critical.
no setteroverride
- solution → String
-
Solution statement of the Exception.
no setteroverride
- stackTrace → StackTrace
-
final
- text → String
-
Complete description of the Exception.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
toString function returns the exception's text.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited