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
public class InvalidDataException extends BaseException
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description InvalidDataException()
Create 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 Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InvalidDataException
public InvalidDataException()
Create a newInvalidDataException
object.
-
InvalidDataException
public InvalidDataException(Throwable cause)
Create a newInvalidDataException
object.- Parameters:
cause
- Throwable object that caused this exception.
-
InvalidDataException
public InvalidDataException(String message)
Create a newInvalidDataException
object with the specifiedmessage
.- Parameters:
message
- The message to throw with the exception
-
-