public abstract class PersistenceException extends NlsRuntimeException
PersistenceException
is NOT extended because of its strict rollback contract
and the better I18N support offered by NlsRuntimeException
.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
UID for serialization.
|
KEY_ANNOTATION, KEY_ARGUMENT, KEY_CAPACITY, KEY_CONTAINER, KEY_DEFAULT, KEY_DIRECTORY, KEY_ERROR, KEY_EXISTING, KEY_EXPECTED, KEY_FILE, KEY_FUNCTION, KEY_ID, KEY_KEY, KEY_LOCATION, KEY_MAX, KEY_MIN, KEY_MODE, KEY_NAME, KEY_OBJECT, KEY_OPERAND, KEY_OPERATION, KEY_OPTION, KEY_PATH, KEY_PROPERTY, KEY_QUERY, KEY_RESOURCE, KEY_SIZE, KEY_SOURCE, KEY_TARGET_TYPE, KEY_TITLE, KEY_TYPE, KEY_URI, KEY_USER, KEY_VALUE
Constructor and Description |
---|
PersistenceException(NlsMessage message)
The constructor.
|
PersistenceException(String internationalizedMessage)
The constructor.
|
PersistenceException(Throwable nested,
NlsMessage message)
The constructor.
|
PersistenceException(Throwable nested,
String internationalizedMessage)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected static NlsBundlePersistenceRoot |
getBundle() |
createBundle, createCopy, createCopyViaClone, createUuid, getCode, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getMessage, getNlsMessage, getUuid, isForUser, isTechnical, printStackTrace, toNlsMessage, toString, toString, toString
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCause, getStackTrace
private static final long serialVersionUID
public PersistenceException(NlsMessage message)
message
- the message
describing the problem briefly.public PersistenceException(String internationalizedMessage)
internationalizedMessage
- is a short description of the problem. It is used for
internationalization
and should be in English
language.public PersistenceException(Throwable nested, NlsMessage message)
public PersistenceException(Throwable nested, String internationalizedMessage)
nested
- is the cause
of this exception.internationalizedMessage
- is a short description of the problem. It is used for
internationalization
and should be in English
language.protected static NlsBundlePersistenceRoot getBundle()
NlsBundlePersistenceRoot
.Copyright © 2001–2014 mmm-Team. All rights reserved.