fedora.server.errors
Class ModuleShutdownException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fedora.server.errors.ServerException
              extended by fedora.server.errors.ShutdownException
                  extended by 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

Constructor Summary
ModuleShutdownException(java.lang.String message, java.lang.String role)
          Creates a ModuleShutdownException.
ModuleShutdownException(java.lang.String message, java.lang.String role, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getRole()
          Gets the role of the module in which the error occurred.
 
Methods inherited from class fedora.server.errors.ServerException
getCode, getDetails, getDetails, getMessage, getMessage, setWasServer, wasServer
 
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
 

Constructor Detail

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)
Method Detail

getRole

public java.lang.String getRole()
Gets the role of the module in which the error occurred.

Returns:
The role.