fedora.server.errors
Class ModuleInitializationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by fedora.server.errors.ServerException
              extended by fedora.server.errors.InitializationException
                  extended by fedora.server.errors.ModuleInitializationException
All Implemented Interfaces:
java.io.Serializable

public class ModuleInitializationException
extends InitializationException

Title: ModuleInitializationException.java

Description: Signifies that an error occurred during a module's initialization.

Version:
$Id: ModuleInitializationException.java 5162 2006-10-25 00:49:06Z eddie $
Author:
cwilper@cs.cornell.edu
See Also:
Serialized Form

Constructor Summary
ModuleInitializationException(java.lang.String message, java.lang.String role)
          Creates a ModuleInitializationException.
ModuleInitializationException(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

ModuleInitializationException

public ModuleInitializationException(java.lang.String message,
                                     java.lang.String role)
Creates a ModuleInitializationException.

Parameters:
message - An informative message explaining what happened and (possibly) how to fix it.
role - The role of the module.

ModuleInitializationException

public ModuleInitializationException(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.