org.squashtest.tm.exception.customfield
Class CodeAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.squashtest.tm.exception.DomainException
org.squashtest.tm.exception.customfield.CodeAlreadyExistsException
- All Implemented Interfaces:
- Serializable, org.squashtest.tm.core.foundation.i18n.Internationalizable
public class CodeAlreadyExistsException
- extends DomainException
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CodeAlreadyExistsException
public CodeAlreadyExistsException(String oldCode,
String newCode,
Class<?> holder)
- Reports an error on the code, hence the setField("code");
- Parameters:
oldCode - : oldCode to display on the exception message.newCode - : new code to display on the exception message.holder - : class of the holder
CodeAlreadyExistsException
public CodeAlreadyExistsException()
- Reports an error on the code, hence the setField("code");
CodeAlreadyExistsException
public CodeAlreadyExistsException(String message)
- Reports an error on the code, hence the setField("code");
- Parameters:
message - : the exception message.
getI18nKey
public String getI18nKey()
- Specified by:
getI18nKey in interface org.squashtest.tm.core.foundation.i18n.Internationalizable- Overrides:
getI18nKey in class DomainException
Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.