org.fcrepo.server.errors
Class ModuleInitializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.fcrepo.server.errors.ServerException
org.fcrepo.server.errors.InitializationException
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
|
Method Summary |
String |
getRole()
Gets the role of the module in which the error occurred. |
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)
getRole
public String getRole()
- Gets the role of the module in which the error occurred.
- Returns:
- The role.
Copyright © 2011 DuraSpace. All Rights Reserved.