Class UnsavedItemException

  • All Implemented Interfaces:
    Serializable

    public class UnsavedItemException
    extends InvalidDataException
    This exception is thrown when trying to use an item that has not been saved to the database in places where this is required. In most cases this is the result from trying to use an unsaved item in a query.
    Version:
    2.5
    Author:
    nicklas
    See Also:
    Serialized Form
    Last modified
    $Date: 2008-09-11 22:11:02 +0200 (to, 11 sep 2008) $
    • Constructor Detail

      • UnsavedItemException

        public UnsavedItemException()
        Create a new UnsavedItemException object.
      • UnsavedItemException

        public UnsavedItemException​(Throwable cause)
        Create a new UnsavedItemException object.
        Parameters:
        cause - Throwable object that caused this exception.
      • UnsavedItemException

        public UnsavedItemException​(String message)
        Create a new UnsavedItemException object with the specified message.
        Parameters:
        message - The message to throw with the exception
      • UnsavedItemException

        public UnsavedItemException​(String message,
                                    Throwable cause)
        Create a new UnsavedItemException object with the specified message.
        Parameters:
        message - The message to throw with the exception
        cause - A throwable exception that caused the exception.