public class ItemInUseException extends PermissionDeniedException
Constructor and Description |
---|
ItemInUseException(String what)
Creates a new
ItemInUseException . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ItemInUseException(String what)
ItemInUseException
. The error
message produced will look like:
Permission denied. The item User[ID=325] is used by another item.
what
- A description of what already exists, for
example User[Id=325]