public class ObjectNotFoundUserException extends ObjectNotFoundException
ObjectNotFoundException
that represents a user failure (is NOT technical
).Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
MESSAGE_CODE
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
Modifier | Constructor and Description |
---|---|
protected |
ObjectNotFoundUserException()
The constructor for de-serialization in GWT.
|
|
ObjectNotFoundUserException(Object object)
The constructor.
|
|
ObjectNotFoundUserException(Object object,
Object key)
The constructor.
|
|
ObjectNotFoundUserException(Throwable nested,
Object object)
The constructor.
|
|
ObjectNotFoundUserException(Throwable nested,
Object object,
Object key)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTechnical()
Determines if this is a technical exception.
|
getCode
createBundle, createCopy, createCopyViaClone, createUuid, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getMessage, getNlsMessage, getUuid, isForUser, printStackTrace, 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
protected ObjectNotFoundUserException()
public ObjectNotFoundUserException(Object object)
object
- is a description (e.g. the classname) of the object that was required but could NOT be found.public ObjectNotFoundUserException(Object object, Object key)
object
- is a description (e.g. the classname) of the object that was required but could NOT be found.key
- is the key to the required object.public ObjectNotFoundUserException(Throwable nested, Object object)
nested
- is the cause
of this exception.object
- is a description (e.g. the classname) of the object that was required but could NOT be found.public ObjectNotFoundUserException(Throwable nested, Object object, Object key)
nested
- is the cause
of this exception.object
- is a description (e.g. the classname) of the object that was required but could NOT be found.key
- is the key to the required object.public boolean isTechnical()
NlsThrowable
displayed 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 NlsThrowable
isTechnical
in class NlsRuntimeException
true
if this is a technical exception, false
if this is a user error.NlsThrowable.isForUser()
Copyright © 2001–2016 mmm-Team. All rights reserved.