org.squashtest.csp.tm.internal.service.customField
Class CodeAlreadyExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.squashtest.csp.tm.domain.DomainException
                  extended by 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

Constructor Summary
CodeAlreadyExistsException()
          Reports an error on the code, hence the setField("code");
CodeAlreadyExistsException(String message)
          Reports an error on the code, hence the setField("code");
CodeAlreadyExistsException(String oldCode, String newCode, Class<?> holder)
          Reports an error on the code, hence the setField("code");
 
Method Summary
 String getI18nKey()
           
 
Methods inherited from class org.squashtest.csp.tm.domain.DomainException
getDefaultMessage, getField, getI18nParams, getObjectName, setObjectName
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

getI18nKey

public String getI18nKey()


Copyright © 2010-2012 Henix, henix.fr. All Rights Reserved.