FatalPodException class

Base class for fatal pod-related exceptions that indicate unrecoverable errors.

Fatal pod exceptions represent serious configuration or system-level problems that prevent the application context from functioning properly. These exceptions typically require immediate attention and often indicate that the application cannot continue normal operation.

Example:

// Custom fatal pod exception
class CustomFatalPodException extends FatalPodException {
  CustomFatalPodException(String message) : super(message);
}

// Handling fatal exceptions
try {
  applicationContext.refresh();
} catch (e) {
  if (e is FatalPodException) {
    print('Fatal pod error: ${e.message}');
    // Log and potentially shut down application
  }
}
Inheritance
Implemented types
Implementers

Constructors

FatalPodException(String? message, [Throwable? cause])
Base class for fatal pod-related exceptions that indicate unrecoverable errors.

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.

Operators

operator ==(Object other) bool
The equality operator.
inherited