fedora.server.errors
Class ModuleShutdownException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fedora.server.errors.ServerException
fedora.server.errors.ShutdownException
fedora.server.errors.ModuleShutdownException
- All Implemented Interfaces:
- java.io.Serializable
public class ModuleShutdownException
- extends ShutdownException
Title: ModuleShutdownException.java
Description: Signifies that an error occurred during a module's
shutdown.
- Version:
- $Id: ModuleShutdownException.java 5162 2006-10-25 00:49:06Z eddie $
- Author:
- cwilper@cs.cornell.edu
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
getRole()
Gets the role of the module in which the error occurred. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ModuleShutdownException
public ModuleShutdownException(java.lang.String message,
java.lang.String role)
- Creates a ModuleShutdownException.
- Parameters:
message - An informative message explaining what happened and
(possibly) how to fix it.role - The role of the module.
ModuleShutdownException
public ModuleShutdownException(java.lang.String message,
java.lang.String role,
java.lang.Throwable cause)
getRole
public java.lang.String getRole()
- Gets the role of the module in which the error occurred.
- Returns:
- The role.