wt.pom
Class UniquenessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.WTException
wt.pom.PersistenceException
wt.pom.DatastoreException
wt.pom.UniquenessException
- All Implemented Interfaces:
- LocalizableMessage, Message, Serializable
- public class UniquenessException
- extends DatastoreException
UniquenessException captures errors with a datastore interaction.
It occurs when an attempt to insert or update an object is made, but cannot
be completed because a database uniqueness constraint has been violated.
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
PDS_RESOURCE
private static final String PDS_RESOURCE
UniquenessException
protected UniquenessException()
UniquenessException
public UniquenessException(Exception ex)
UniquenessException
public UniquenessException(String rb,
String key,
Object[] params)
UniquenessException
public UniquenessException(Exception t,
String rb,
String key,
Object[] params)
UniquenessException
public UniquenessException(Object[] additionalMessages)
UniquenessException
public UniquenessException(SQLException ex,
Persistable object)
UniquenessException
public UniquenessException(Persistable object)
UniquenessException
public UniquenessException(WTCollection objects)
initialize
private void initialize(Persistable object)
initialize
private void initialize()
buildAdditionalMessages
private static Object[] buildAdditionalMessages(WTCollection objects)