Package net.sf.basedb.core
Class StringTooLongException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.basedb.core.BaseException
net.sf.basedb.core.InvalidDataException
net.sf.basedb.core.StringTooLongException
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreate a newStringTooLongException
object.StringTooLongException
(String field, String theString, int maxLength) Create a newStringTooLongException
object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
StringTooLongException
public StringTooLongException()Create a newStringTooLongException
object. -
StringTooLongException
Create a newStringTooLongException
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
-