org.squashtest.csp.tm.internal.service.customField
Class CodeAlreadyExistsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.squashtest.csp.tm.domain.DomainException
org.squashtest.csp.tm.internal.service.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()
Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.