org.proteios.core
Class ItemInUseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.proteios.core.BaseException
org.proteios.core.PermissionDeniedException
org.proteios.core.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:
- Serialized Form
- Last modified
- $Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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]