org.proteios.core
Class StringTooLongException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.proteios.core.BaseException
org.proteios.core.InvalidDataException
org.proteios.core.StringTooLongException
- All Implemented Interfaces:
- Serializable
public class StringTooLongException
- extends InvalidDataException
This exception is thrown when an item's field or a parameter
which must be shorter than a specified length exceeds that length.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
StringTooLongException
public StringTooLongException()
- Create a new
StringTooLongException object.
StringTooLongException
public StringTooLongException(String field,
String theString,
int maxLength)
- Create a new
StringTooLongException object.
- Parameters:
field - The name of the field or parameter that must
have a shorter valuetheString - The string that is too longmaxLength - The maximum allowed length of the string