public class ItemInUseException extends PermissionDeniedException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
ItemInUseException(java.lang.String what)
Creates a new
ItemInUseException . |
ItemInUseException(java.lang.String what,
java.lang.Throwable cause)
Creates a new
ItemInUseException with a cause. |
private static final long serialVersionUID
public ItemInUseException(java.lang.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]public ItemInUseException(java.lang.String what, java.lang.Throwable cause)
ItemInUseException
with a cause. 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]cause
- The cause of the error