org.squashtest.csp.tm.domain
Class WrongStringSizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.squashtest.csp.tm.domain.DomainException
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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
WrongStringSizeException
public WrongStringSizeException(String fieldName,
int min,
int max)
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.