- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.github.mmm.base.exception.ApplicationException
-
- io.github.mmm.base.exception.ObjectNotFoundException
-
- io.github.mmm.nls.exception.ObjectNotFoundUserException
-
- All Implemented Interfaces:
Localizable
,LocalizableObject
,Serializable
public class ObjectNotFoundUserException extends ObjectNotFoundException
ObjectNotFoundException
for user
with NLS support.- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class io.github.mmm.base.exception.ObjectNotFoundException
MESSAGE_CODE
-
-
Constructor Summary
Constructors Constructor Description ObjectNotFoundUserException(Object object)
The constructor.ObjectNotFoundUserException(Object object, Object key)
The constructor.ObjectNotFoundUserException(Object object, Object key, Throwable cause)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isForUser()
Note: Please consider usingnet.sf.mmm.nls.exception.NlsException
with i18n support in case you are creating exceptions for end-users.-
Methods inherited from class io.github.mmm.base.exception.ObjectNotFoundException
getCode
-
Methods inherited from class io.github.mmm.base.exception.ApplicationException
createUuid, getLocalizedMessage, getLocalizedMessage, getMessage, getNlsMessage, getNlsMessage, getUuid, isTechnical, printStackTrace, toString, toString, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.base.i18n.Localizable
getArgument, getLocalizedMessage, toLocalizable
-
-
-
-
Constructor Detail
-
ObjectNotFoundUserException
public ObjectNotFoundUserException(Object object, Object key)
The constructor.- Parameters:
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.
-
ObjectNotFoundUserException
public ObjectNotFoundUserException(Object object)
The constructor.- Parameters:
object
- is a description (e.g. the classname) of the object that was required but could NOT be found.
-
ObjectNotFoundUserException
public ObjectNotFoundUserException(Object object, Object key, Throwable cause)
The constructor.- Parameters:
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.cause
- is thecause
of this exception.
-
-
Method Detail
-
isForUser
public boolean isForUser()
Description copied from class:ApplicationException
Note: Please consider usingnet.sf.mmm.nls.exception.NlsException
with i18n support in case you are creating exceptions for end-users.- Overrides:
isForUser
in classApplicationException
- Returns:
true
if themessage
of this exception is for end-users (or clients),false
otherwise (for internaltechnical
errors).
-
-