PodDefinitionOverrideException class
Exception thrown when a pod definition is overridden.
This exception is thrown when a pod definition is overridden.
Example usage:
try {
final pod = podFactory.getPod<MyPod>();
} catch (e) {
if (e is PodDefinitionOverrideException) {
print('Pod definition override: ${e.message}');
}
}
- Inheritance
-
- Object
- PodException
- PodDefinitionOverrideException
- Implemented types
Constructors
- PodDefinitionOverrideException(String name)
- Exception thrown when a pod definition is overridden.
Properties
- cause → Throwable?
-
The underlying cause of this exception, if any.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
The descriptive message for this exception.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setterinherited
Methods
-
contains(
Class? exType) → bool -
Checks if this exception or any exception in its cause chain is of the specified type.
inherited
-
getCause(
) → Throwable? -
The cause of this exception, if any.
inherited
-
getMessage(
) → String -
The message associated with this exception.
inherited
-
getMostSpecificCause(
) → Throwable -
Returns the most specific cause of this exception.
inherited
-
getRootCause(
) → Throwable? -
Returns the root cause of this exception by traversing the cause chain.
inherited
-
getStackTrace(
) → StackTrace -
The stack trace associated with this exception.
inherited
-
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