Class ItemInUseException

All Implemented Interfaces:
Serializable

public class ItemInUseException extends PermissionDeniedException
This exception is thrown when trying delete an item that is used (reference to) by some other item or items.
Version:
2.0
Author:
Nicklas
See Also:
Last modified
$Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $
  • Field Details

  • Constructor Details

    • ItemInUseException

      public ItemInUseException(String what)
      Creates a new ItemInUseException. The error message produced will look like: Permission denied. The item User[ID=325] is used by another item.
      Parameters:
      what - A description of what already exists, for example User[Id=325]
    • ItemInUseException

      public ItemInUseException(String what, Throwable cause)
      Creates a new ItemInUseException with a cause. The error message produced will look like: Permission denied. The item User[ID=325] is used by another item.
      Parameters:
      what - A description of what already exists, for example User[Id=325]
      cause - The cause of the error
      Since:
      2.4