fedora.server.errors
Class ModuleInitializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
fedora.server.errors.ServerException
fedora.server.errors.InitializationException
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
|
Method Summary |
java.lang.String |
getRole()
Gets the role of the module in which the error occurred. |
| 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 |
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)
getRole
public java.lang.String getRole()
- Gets the role of the module in which the error occurred.
- Returns:
- The role.