PodDefinitionStoreException class
Exception thrown when a pod definition store error occurs.
This exception typically occurs when a pod definition is being stored in the application context, but an error occurs during the storage process.
Example:
throw PodDefinitionStoreException('Pod definition store error');
- Inheritance
-
- Object
- PodException
- FatalPodException
- PodCreationException
- PodDefinitionStoreException
- Implemented types
Constructors
- PodDefinitionStoreException({String? msg, required String name, String? resourceDescription, Throwable? cause})
- Exception thrown when a pod definition store error occurs.
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
- name → String?
-
finalinherited
- resourceDescription → String?
-
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
-
addRelatedCause(
Throwable ex) → void -
Add a related cause to this pod creation exception,
not being a direct cause of the failure but having occurred
earlier in the creation of the same pod instance.
inherited
-
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
-
getPodName(
) → String? -
Return the name of the pod requested, if any.
inherited
-
getRelatedCauses(
) → List< Throwable> ? -
Return the related causes, if any.
inherited
-
getResourceDescription(
) → String? -
Return the description of the resource that the pod definition came from, if any.
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