public class ModuleShutdownException extends ShutdownException
| Constructor and Description |
|---|
ModuleShutdownException(String message,
String role)
Creates a ModuleShutdownException.
|
ModuleShutdownException(String message,
String role,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRole()
Gets the role of the module in which the error occurred.
|
getCode, getDetails, getDetails, getMessage, getMessage, setWasServer, wasServeraddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ModuleShutdownException(String message, String role)
message - An informative message explaining what happened and (possibly) how
to fix it.role - The role of the module.public String getRole()
Copyright © 2013 DuraSpace. All Rights Reserved.