Package net.sf.basedb.core
Class DetachedItemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.sf.basedb.core.BaseException
net.sf.basedb.core.DetachedItemException
- All Implemented Interfaces:
Serializable
This exception is thrown when trying to use an item
that has been detached from the
DbControl
that
manages it.- Version:
- 2.0
- Author:
- Nicklas
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
DetachedItemException
Creates a newDetachedItemException
. The error message produced will look like:Item is detached: User[ID=1]
- Parameters:
what
- A description of what has been detached, for example User[ID=1]
-