Package net.sf.basedb.core
Class InvalidDataException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.basedb.core.BaseException
net.sf.basedb.core.InvalidDataException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DateFormatException
,DisallowedValueException
,InvalidAnnotationException
,InvalidPathException
,InvalidUseOfNullException
,ItemAlreadyExistsException
,ItemNotFoundException
,NumberOutOfRangeException
,ParameterException
,QuotaException
,StringTooLongException
,UnsavedItemException
,UnsupportedFileFormatException
Exceptions of this type are thrown when invalid data is encountered.
The real exception thrown is usually of a subclass to this class.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreate a newInvalidDataException
object.InvalidDataException
(String message) Create a newInvalidDataException
object with the specifiedmessage
.InvalidDataException
(String message, Throwable cause) Create a newInvalidDataException
object with the specifiedmessage
.InvalidDataException
(Throwable cause) Create a newInvalidDataException
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
-
InvalidDataException
public InvalidDataException()Create a newInvalidDataException
object. -
InvalidDataException
Create a newInvalidDataException
object.- Parameters:
cause
- Throwable object that caused this exception.
-
InvalidDataException
Create a newInvalidDataException
object with the specifiedmessage
.- Parameters:
message
- The message to throw with the exception
-
InvalidDataException
Create a newInvalidDataException
object with the specifiedmessage
.- Parameters:
message
- The message to throw with the exceptioncause
- Throwable object that caused this exception.
-