Uses of Interface
io.github.mmm.base.i18n.Localizable
-
Packages that use Localizable Package Description io.github.mmm.base.exception ContainsApplicationException
and derived exception classes for common cases.io.github.mmm.base.i18n Contains APIs and helpers for internationalization. -
-
Uses of Localizable in io.github.mmm.base.exception
Classes in io.github.mmm.base.exception that implement Localizable Modifier and Type Class Description class
ApplicationException
ExtendsRuntimeException
with the following features: aUUID
unique per exception instance automatically generated once per exceptionchain
. anerror code
that should be unique per exception type. distinction betweentechnical
exceptions and exceptionsintended for end-users
. NOTE:
Exceptions should only occur in unexpected or undesired situations.class
DuplicateObjectException
AnDuplicateObjectException
is thrown if an object was rejected because it is a duplicate.class
ObjectMismatchException
AnObjectMismatchException
is thrown if an object or value does not match an expected result.class
ObjectNotFoundException
AnObjectNotFoundException
is thrown if an object was requested but does not exist or could not be found.class
ReadOnlyException
AReadOnlyException
is thrown if the modification of something failed because it is read-only.class
RuntimeIoException
Methods in io.github.mmm.base.exception that return Localizable Modifier and Type Method Description Localizable
ApplicationException. getNlsMessage()
static Localizable
ApplicationException. getNlsMessage(Throwable error)
Constructors in io.github.mmm.base.exception with parameters of type Localizable Constructor Description ApplicationException(Localizable message)
The constructor.ApplicationException(Localizable message, Throwable cause)
The constructor.ApplicationException(Localizable message, Throwable cause, UUID uuid)
The constructor.ObjectNotFoundException(Localizable message, Throwable cause)
The constructor. -
Uses of Localizable in io.github.mmm.base.i18n
Methods in io.github.mmm.base.i18n that return Localizable Modifier and Type Method Description static Localizable
Localizable. ofStatic(String message)
default Localizable
Localizable. toLocalizable()
Localizable
LocalizableObject. toLocalizable()
This method is the equivalent toObject.toString()
with native language support.
-