org.fcrepo.server.errors
Class ModuleShutdownException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.fcrepo.server.errors.ServerException
              extended by org.fcrepo.server.errors.ShutdownException
                  extended by org.fcrepo.server.errors.ModuleShutdownException
All Implemented Interfaces:
Serializable

public class ModuleShutdownException
extends ShutdownException

Signals that an error occurred during a module's shutdown.

Author:
Chris Wilper
See Also:
Serialized Form

Constructor Summary
ModuleShutdownException(String message, String role)
          Creates a ModuleShutdownException.
ModuleShutdownException(String message, String role, Throwable cause)
           
 
Method Summary
 String getRole()
          Gets the role of the module in which the error occurred.
 
Methods inherited from class org.fcrepo.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(String message,
                               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(String message,
                               String role,
                               Throwable cause)
Method Detail

getRole

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

Returns:
The role.


Copyright © 2011 DuraSpace. All Rights Reserved.