wt.pom
Class DatastoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.WTException
wt.pom.PersistenceException
wt.pom.DatastoreException
- All Implemented Interfaces:
- LocalizableMessage, Message, Serializable
- Direct Known Subclasses:
- ConnectionException, ConnectionLostException, DeadlockDetectedException, DuplicateException, ObjectLockedException, UnassignedOidException, UniquenessException
- public class DatastoreException
- extends PersistenceException
DatastoreException captures errors with a datastore interaction.
A generic exception.
Supported API: true
Extendable: false
- See Also:
- Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class wt.util.WTException |
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, printStackTrace, printStackTrace, printStackTrace, setLocalizedMessage, toString |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
DatastoreException
protected DatastoreException()
DatastoreException
public DatastoreException(Exception ex)
DatastoreException
public DatastoreException(Exception ex,
String sqlStatement)
DatastoreException
public DatastoreException(Exception ex,
String ekey,
Object[] params)
DatastoreException
public DatastoreException(String rb,
String key,
Object[] params)
DatastoreException
public DatastoreException(Exception t,
String rb,
String key,
Object[] params)
DatastoreException
public DatastoreException(Object[] additionalMessages)
toString
public String toString(boolean nested)
- Returns a description of this
DatastoreException
. The
description optionally includes the descriptions of the nested throwable
objects that are embedded within this DatastoreException
.
If the nested throwable is a SQLException
, each chained
SQLException
message is included.
- Overrides:
toString
in class WTException
- Parameters:
nested
- include nested exceptions in message
getNestedToString
private String getNestedToString(Throwable t)