|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.arsdigita.util.UncheckedWrapperException
com.arsdigita.persistence.PersistenceException
PersistenceException
Field Summary | |
static String |
versionId
|
Constructor Summary | |
|
PersistenceException(String message)
Constructor for a PersistenceException which does not wrap another exception. |
protected |
PersistenceException(String s,
Throwable rootCause)
Constructor which takes a message string and a root cause that this exception will be wrapping. |
protected |
PersistenceException(Throwable rootCause)
Constructor which takes a root cause that this exception will be wrapping. |
Method Summary | |
static PersistenceException |
newInstance(String s)
It's not necessary to use newInstance for just a string argument, but you can if you'd prefer to remain consistent in PersistenceException creation. |
static PersistenceException |
newInstance(String s,
Throwable rootCause)
This method should be used to create a persistence exception wrapping another exception, to allow for creation of a particular subtype of persistence exception based on the type of the rootCause passed in. |
static PersistenceException |
newInstance(Throwable rootCause)
This method should be used to create a persistence exception wrapping another exception, to allow for creation of a particular subtype of persistence exception based on the type of the rootCause passed in. |
Methods inherited from class com.arsdigita.util.UncheckedWrapperException |
getMessage, getRootCause, hasRootCause, printStackTrace, printStackTrace, printStackTrace, throwLoggedException, toString, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
public PersistenceException(String message)
newInstance(Throwable)
protected PersistenceException(Throwable rootCause)
protected PersistenceException(String s, Throwable rootCause)
Method Detail |
public static final PersistenceException newInstance(String s)
public static final PersistenceException newInstance(Throwable rootCause)
public static final PersistenceException newInstance(String s, Throwable rootCause)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |