org.squashtest.csp.tm.domain
Class WrongStringSizeException

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

public class WrongStringSizeException
extends DomainException

should not be needed anymore when [Task 1682] is done

Author:
mpagnon
See Also:
Serialized Form

Constructor Summary
WrongStringSizeException(String fieldName, int min, int max)
           
 
Method Summary
 String getI18nKey()
           
 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

WrongStringSizeException

public WrongStringSizeException(String fieldName,
                                int min,
                                int max)
Method Detail

getI18nKey

public String 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.