public class StringTooLongException extends InvalidDataException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
StringTooLongException()
Create a new
StringTooLongException object. |
StringTooLongException(java.lang.String field,
java.lang.String theString,
int maxLength)
Create a new
StringTooLongException object. |
private static final long serialVersionUID
public StringTooLongException()
StringTooLongException
object.public StringTooLongException(java.lang.String field, java.lang.String theString, int maxLength)
StringTooLongException
object.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