org.fcrepo.server.errors
Class ModuleInitializationException

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.InitializationException
                  extended by org.fcrepo.server.errors.ModuleInitializationException
All Implemented Interfaces:
Serializable

public class ModuleInitializationException
extends InitializationException

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

Author:
Chris Wilper
See Also:
Serialized Form

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

ModuleInitializationException

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