public interface NlsBundleUtilExceptionRoot extends NlsBundle
internationalized messages
for this module.INTERFACE_NAME_SUFFIX
NlsMessage errorParseExpected(@Named(value="value") Object value, @Named(value="type") Object type)
value
- is the invalid value.type
- is the expected type.NlsMessage
NlsParseException
NlsMessage errorParseType(@Named(value="value") Object value, @Named(value="type") Object type, @Named(value="source") Object source)
value
- is the invalid value.type
- is the expected type.source
- is the source of the value.NlsMessage
NlsParseException
NlsMessage errorParseFormat(@Named(value="value") Object value, @Named(value="format") Object format, @Named(value="type") Object type, @Named(value="source") Object source)
value
- is the value that could NOT be parsed.format
- is the expected format.type
- is the target type for the value to parse.source
- is the source of the value.NlsMessage
NlsParseException
NlsMessage errorIllegalArgument(@Named(value="value") Object value)
value
- is the illegal value of the argument.NlsMessage
NlsIllegalArgumentException
NlsMessage errorIllegalArgumentWithName(@Named(value="value") Object value, @Named(value="name") String name)
value
- is the illegal value of the argument.name
- is the name of the argument.NlsMessage
NlsIllegalArgumentException
NlsMessage errorArgumentNull(@Named(value="object") Object object)
object
- is the name of the object that is null
.NlsMessage
NlsNullPointerException
NlsMessage errorTechnical()
NlsMessage
TechnicalErrorUserException
NlsMessage errorDuplicateObject(@Named(value="object") Object object)
object
- is the duplicate object.NlsMessage
DuplicateObjectException
NlsMessage errorDuplicateObjectWithKey(@Named(value="object") Object object, @Named(value="key") Object key)
object
- is the duplicate object.key
- is the key associated with the object (e.g. in a Map
).NlsMessage
DuplicateObjectException
NlsMessage errorDuplicateObjectWithKeyAndExisting(@Named(value="object") Object object, @Named(value="key") Object key, @Named(value="existing") Object existing)
object
- is the duplicate object.key
- is the key associated with the object (e.g. in a Map
).existing
- is the object already associated with the given key
.NlsMessage
DuplicateObjectException
NlsMessage errorObjectMismatch(@Named(value="object") Object object, @Named(value="expected") Object expected, @Named(value="source") Object source, @Named(value="property") Object property)
object
- is the mismatching object.expected
- is the expected object (e.g. type).source
- is the source of the mismatching object or null
if unknown.property
- is the property holding the mismatching object or null
if undefined.NlsMessage
ObjectMismatchException
NlsMessage errorObjectNotFound(@Named(value="object") Object object, @Named(value="key") Object key)
object
- describes the missing object (e.g. the expected type).key
- is the key associated with the object (e.g. in a Map
).NlsMessage
ObjectNotFoundException
NlsMessage errorIllegalState()
NlsMessage
NlsIllegalStateException
NlsMessage errorComposed(@Named(value="error") Object error)
error
- the error.NlsMessage
ComposedException
NlsMessage errorIllegalCase(@Named(value="case") Object illegalCase)
illegalCase
- is the illegal case.NlsMessage
IllegalCaseException
NlsMessage errorUnsupportedOperation()
NlsMessage
NlsUnsupportedOperationException
NlsMessage errorUnsupportedOperationWithName(@Named(value="operation") Object operation, @Named(value="source") Object source)
operation
- is the unsupported operation.source
- is the source object that does not support the operation.NlsMessage
NlsUnsupportedOperationException
NlsMessage errorReadOnly(@Named(value="object") Object object, @Named(value="attribute") Object attribute)
object
- is the object that is read-only and can not be modified.attribute
- is the attribute that is read-only or null
for the entire object.NlsMessage
ReadOnlyException
NlsMessage errorCast(@Named(value="object") Object object, @Named(value="source") Type source, @Named(value="target") Type target)
object
- is the object that should be cased.source
- is the actual type of the object
.target
- is the type the object
should be casted to.NlsMessage
NlsClassCastException
NlsMessage errorObjectDisposed(@Named(value="object") Object object)
object
- is the disposed object.NlsMessage
ObjectDisposedException
NlsMessage errorValidation()
NlsMessage
ValidationErrorUserException
NlsMessage errorValueWrongType(@Named(value="value") Object value, @Named(value="valueType") Object valueType, @Named(value="targetType") Object targetType, @Named(value="source") Object source)
value
- is the invalid value.valueType
- is the actual type of the value.targetType
- is the expected type of the value.source
- is the source of the value.NlsMessage
WrongValueTypeException
NlsMessage errorValueNotSet(@Named(value="source") Object value)
value
- is the invalid value.NlsMessage
ValueNotSetException
NlsMessage errorValueOutOfRange(@Named(value="value") Object value, @Named(value="min") Object min, @Named(value="max") Object max, @Named(value="source") Object source)
value
- is the invalid value.min
- is the minimum value.max
- is the maximum value.source
- is the source of the value or null
if NOT available.NlsMessage
ValueOutOfRangeException
NlsMessage errorValueConvert(@Named(value="value") Object value, @Named(value="type") Type type, @Named(value="source") Object source)
value
- is the value that could NOT be converted.type
- is the type to convert to.source
- is the source of the value.NlsMessage
ValueConvertException
NlsMessage errorOptimisticLocking(Object entity, Object id)
entity
- the entity representation (e.g. simple name).id
- the ID of the entity.NlsMessage
.OptimisticLockingException
Copyright © 2001–2016 mmm-Team. All rights reserved.