Class SokletLifecycleException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.soklet.SokletLifecycleException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SokletShutdownCleanupException, SokletShutdownIncompleteException, SokletStartupException, SokletUnexpectedTerminationException
@NotThreadSafe
public abstract sealed class SokletLifecycleException
extends RuntimeException
permits SokletShutdownCleanupException, SokletShutdownIncompleteException, SokletStartupException, SokletUnexpectedTerminationException
Sealed base class for exceptions that carry an immutable lifecycle result.
Exception instances retain
Throwable's mutable state and are not
thread-safe; their ShutdownResult values remain immutable.
This type may gain reviewed permitted subtypes in Soklet 4.x; use a forward-compatible default when switching over its values.
- See Also:
-
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getShutdownResult
- Returns:
- the exact immutable result for the failed lifecycle attempt
-