public class ModuleAlreadyExistsException extends ModuleException
Constructor and Description |
---|
ModuleAlreadyExistsException(java.lang.String name,
ModuleType type) |
ModuleAlreadyExistsException(java.lang.String messageTemplate,
java.lang.String name,
ModuleType type)
Construct a new exception with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
ModuleType |
getType() |
public ModuleAlreadyExistsException(java.lang.String messageTemplate, java.lang.String name, ModuleType type)
String.format(String, Object...)
with the module name and type being the first and second replacements.public ModuleAlreadyExistsException(java.lang.String name, ModuleType type)
public java.lang.String getName()
public ModuleType getType()