|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
ca.sqlpower.wabit.dao.WabitPersistenceException
public class WabitPersistenceException
A general exception for any exceptions that occur during an attempt to
persist a WabitObject and/or its properties by any class that
implements WabitPersister. This exception could be subclassed to
provide more detail for certain exceptions, such an exception caused by a
WabitObject having a different old property value than expected.
| Constructor Summary | |
|---|---|
WabitPersistenceException(java.lang.String uuid)
Constructs a WabitPersistenceException with the given UUID for
the WabitObject that was being persisted. |
|
WabitPersistenceException(java.lang.String uuid,
java.lang.String message)
Constructs a WabitPersistenceException with a given UUID and
detailed message |
|
WabitPersistenceException(java.lang.String uuid,
java.lang.String message,
java.lang.Throwable cause)
Constructs a WabitPersistenceException with a given UUID, a
detailed message, and a cause Throwable. |
|
WabitPersistenceException(java.lang.String uuid,
java.lang.Throwable cause)
Constructs a WabitPersistenceException with a given UUID and a
cause Throwable. |
|
| Method Summary | |
|---|---|
java.lang.String |
getUUID()
Returns the UUID of the WabitObject that was being persisted when
this Exception occured |
| 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 |
| Constructor Detail |
|---|
public WabitPersistenceException(java.lang.String uuid)
WabitPersistenceException with the given UUID for
the WabitObject that was being persisted.
uuid - The UUID of the WabitObject that was being persisted.
If there is no particular WabitObject related to this
Exception, null may be passed in instead.
public WabitPersistenceException(java.lang.String uuid,
java.lang.String message)
WabitPersistenceException with a given UUID and
detailed message
uuid - The UUID of the WabitObject that was being persisted.
If there is no particular WabitObject related to this
Exception, null may be passed in instead.message - A detailed error message. Can be retrieved with
Throwable.getMessage().
public WabitPersistenceException(java.lang.String uuid,
java.lang.Throwable cause)
WabitPersistenceException with a given UUID and a
cause Throwable. This can be used to wrap a more specific
Exception that caused this WabitPersistenceException
uuid - The UUID of the WabitObject that was being persisted.
If there is no particular WabitObject related to this
Exception, null may be passed in instead.cause - A Throwable that is the specific cause
public WabitPersistenceException(java.lang.String uuid,
java.lang.String message,
java.lang.Throwable cause)
WabitPersistenceException with a given UUID, a
detailed message, and a cause Throwable. This can be used to wrap
a more specific Exception that caused this WabitPersistenceException
uuid - The UUID of the WabitObject that was being persisted.
If there is no particular WabitObject related to this
Exception, null may be passed in instead.message - A detailed error message. Can be retrieved with
Throwable.getMessage().cause - A Throwable that is the specific cause| Method Detail |
|---|
public java.lang.String getUUID()
WabitObject that was being persisted when
this Exception occured
WabitObject that was being persisted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||