ProgressDialogException class
Custom exception class for progress dialog related errors.
This exception is thrown when invalid operations are attempted on the dialog, such as trying to show a dialog that's already visible or hide one that's already dismissed. The exception includes both a type identifier and an optional custom message.
Example:
throw ProgressDialogException(
ProgressDialogExceptionType.alreadyShown,
"Custom error message"
);
- Implemented types
Constructors
- ProgressDialogException(ProgressDialogExceptionType type, [String? message])
- Creates a new ProgressDialogException with the specified type and optional message.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String?
-
Optional custom message providing additional context
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ ProgressDialogExceptionType
-
The type of exception that occurred
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited