2.17.2: 2011-06-17

net.sf.basedb.core
Class InvalidDataException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by net.sf.basedb.core.BaseException
                  extended by 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
private static long serialVersionUID
           
 
Constructor Summary
InvalidDataException()
          Create a new InvalidDataException object.
InvalidDataException(String message)
          Create a new InvalidDataException object with the specified message.
InvalidDataException(String message, Throwable cause)
          Create a new InvalidDataException object with the specified message.
InvalidDataException(Throwable cause)
          Create a new InvalidDataException object.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

InvalidDataException

public InvalidDataException()
Create a new InvalidDataException object.


InvalidDataException

public InvalidDataException(Throwable cause)
Create a new InvalidDataException object.

Parameters:
cause - Throwable object that caused this exception.

InvalidDataException

public InvalidDataException(String message)
Create a new InvalidDataException object with the specified message.

Parameters:
message - The message to throw with the exception

InvalidDataException

public InvalidDataException(String message,
                            Throwable cause)
Create a new InvalidDataException object with the specified message.

Parameters:
message - The message to throw with the exception
cause - Throwable object that caused this exception.

2.17.2: 2011-06-17