public class NameAlreadyInUseException extends DomainException
| Modifier and Type | Class and Description |
|---|---|
static class |
NameAlreadyInUseException.EntityType |
| Constructor and Description |
|---|
NameAlreadyInUseException(NameAlreadyInUseException.EntityType type,
String name) |
NameAlreadyInUseException(String entityName,
String name) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEntityName() |
String |
getI18nKey()
(non-Javadoc)
|
Object[] |
getI18nParams()
Can be overridden by subclasses to return the params to use when fetching the i18n'd message.
|
String |
getName() |
getDefaultMessage, getField, getFieldValue, getObjectName, setFieldValue, setObjectNameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NameAlreadyInUseException(NameAlreadyInUseException.EntityType type, String name)
public String getI18nKey()
getI18nKey in interface org.squashtest.tm.core.foundation.i18n.InternationalizablegetI18nKey in class DomainExceptionInternationalizable.getI18nKey()public String getEntityName()
public String getName()
public Object[] getI18nParams()
DomainExceptiongetI18nParams in class DomainExceptionnullCopyright © 2010–2016 Henix, henix.fr. All rights reserved.