|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException net.sf.basedb.core.BaseException net.sf.basedb.core.InvalidDataException net.sf.basedb.core.UnsavedItemException
public class UnsavedItemException
This exception is thrown when trying to use an item that has not been saved to the database in places where this is required. In most cases this is the result from trying to use an unsaved item in a query.
Field Summary | |
---|---|
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
UnsavedItemException()
Create a new UnsavedItemException object. |
|
UnsavedItemException(String message)
Create a new UnsavedItemException object with the
specified message . |
|
UnsavedItemException(String message,
Throwable cause)
Create a new UnsavedItemException object with the
specified message . |
|
UnsavedItemException(Throwable cause)
Create a new UnsavedItemException object. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public UnsavedItemException()
UnsavedItemException
object.
public UnsavedItemException(Throwable cause)
UnsavedItemException
object.
cause
- Throwable object that caused this exception.public UnsavedItemException(String message)
UnsavedItemException
object with the
specified message
.
message
- The message to throw with the exceptionpublic UnsavedItemException(String message, Throwable cause)
UnsavedItemException
object with the
specified message
.
message
- The message to throw with the exceptioncause
- A throwable exception that caused the exception.
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |