Package com.ultikits.ultitools.utils
Class PluginInstallUtils.ModuleUnloadFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
com.ultikits.ultitools.utils.PluginInstallUtils.ModuleUnloadFailedException
- All Implemented Interfaces:
Serializable
- Enclosing class:
PluginInstallUtils
@Internal
public static final class PluginInstallUtils.ModuleUnloadFailedException
extends IllegalStateException
Raised when a module's own unload threw. The module is still removed from the loaded modules
and its JARs are still deleted; the JAR outcome is attached as suppressed.
A type of its own rather than a bare IllegalStateException, so the reply that says
"its own unload threw" is structurally true rather than true of whatever else might raise one
(gate 1, IN-06). It extends IllegalStateException because that is what the method's
javadoc has documented since this branch began.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateModuleUnloadFailedException(String message, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
ModuleUnloadFailedException
-
-
Method Details
-
of
- Parameters:
message- what to tell the callercause- what the module's unload threw- Returns:
- the failure
-