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

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.OptionAlreadyExistException
All Implemented Interfaces:
Serializable, org.squashtest.tm.core.foundation.i18n.Internationalizable

public class OptionAlreadyExistException
extends DomainException

This should be raised when an option already exists for a given custom-field.

Author:
mpagnon
See Also:
Serialized Form

Constructor Summary
OptionAlreadyExistException(String label)
           
 
Method Summary
 String getI18nKey()
          (non-Javadoc)
 Object[] getI18nParams()
          Can be overridden by subclasses to return the params to use when fetching the i18n'd message.
 
Methods inherited from class org.squashtest.csp.tm.domain.DomainException
getDefaultMessage, getField, 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

OptionAlreadyExistException

public OptionAlreadyExistException(String label)
Method Detail

getI18nKey

public String getI18nKey()
(non-Javadoc)

See Also:
Internationalizable.getI18nKey()

getI18nParams

public Object[] getI18nParams()
Description copied from class: DomainException
Can be overridden by subclasses to return the params to use when fetching the i18n'd message.

Overrides:
getI18nParams in class DomainException
Returns:
should never return null


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