public class RegistryModuleAlreadyRegisteredException extends RegistryException
Constructor and Description |
---|
RegistryModuleAlreadyRegisteredException(String message,
RegistryModule module)
Creates a new
RegistryModuleAlreadyRegisteredException based on
the fact that the provided RegistryModule is already registered,
either due to the fact that the object it covers is already associated
with a different module , or that the module itself
has already been registered. |
Modifier and Type | Method and Description |
---|---|
RegistryModule |
getModule()
Gets the
RegistryModule associated with this exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public RegistryModuleAlreadyRegisteredException(String message, RegistryModule module)
RegistryModuleAlreadyRegisteredException
based on
the fact that the provided RegistryModule
is already registered,
either due to the fact that the object it covers is already associated
with a different module
, or that the module itself
has already been registered.message
- The messagemodule
- The module in questionpublic RegistryModule getModule()
RegistryModule
associated with this exception.