public class DuplicateNameException extends DomainException
| Constructor and Description |
|---|
DuplicateNameException()
Reports an error on the name, hence the setField("name");
|
DuplicateNameException(String message)
Reports an error on the name, hence the setField("name");
|
DuplicateNameException(String oldName,
String newName)
Reports an error on the name, hence the setField("name");
|
| Modifier and Type | Method and Description |
|---|---|
String |
getI18nKey() |
getDefaultMessage, getField, getFieldValue, getI18nParams, getObjectName, setFieldValue, setObjectNameaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DuplicateNameException(String oldName, String newName)
oldName - : oldName to display on the exception message.newName - : new name to display on the exception message.public DuplicateNameException()
public DuplicateNameException(String message)
message - : the exception message.public String getI18nKey()
getI18nKey in interface org.squashtest.tm.core.foundation.i18n.InternationalizablegetI18nKey in class DomainExceptionCopyright © 2010–2016 Henix, henix.fr. All rights reserved.