public class DuplicateObjectUserException extends DuplicateObjectException
DuplicateObjectException that represents a user failure (is NOT technical).| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
MESSAGE_CODEKEY_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| Modifier | Constructor and Description |
|---|---|
protected |
DuplicateObjectUserException()
The constructor for de-serialization in GWT.
|
|
DuplicateObjectUserException(Object object)
The constructor.
|
|
DuplicateObjectUserException(Object object,
Object key)
The constructor.
|
|
DuplicateObjectUserException(Object object,
Object key,
Object existing)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTechnical()
Determines if this is a technical exception.
|
getCode, putcreateBundle, createCopy, createCopyViaClone, createUuid, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getMessage, getNlsMessage, getUuid, isForUser, printStackTrace, printStackTrace, toNlsMessage, toString, toString, toStringaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTraceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCause, getStackTraceprivate static final long serialVersionUID
protected DuplicateObjectUserException()
public DuplicateObjectUserException(Object object)
object - is the object that was rejected because it is a duplicate.public DuplicateObjectUserException(Object object, Object key)
object - is the object that was rejected because it is a duplicate.key - is the key the object could NOT be associated with because it already leads to another object.public DuplicateObjectUserException(Object object, Object key, Object existing)
object - is the object that was rejected because it is a duplicate.key - is the key the object could NOT be associated with because it already leads to another object.existing - is the object that is already registered for the given key.public boolean isTechnical()
NlsThrowabledisplayed to the end-user in such case. See
TechnicalErrorUserException.message is typically
intended for to end-users and has to be easy to understand.NlsRuntimeException.isTechnical in interface NlsThrowableisTechnical in class NlsRuntimeExceptiontrue if this is a technical exception, false if this is a user error.NlsThrowable.isForUser()Copyright © 2001–2016 mmm-Team. All rights reserved.