Class 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 Details

  • Constructor Details

    • 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.