|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.i18n.AbstractMessageBean de.smartics.properties.api.core.app.AbstractBaseMessageBean de.smartics.properties.api.core.domain.PropertyMessageBean de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean de.smartics.properties.api.core.domain.PropertyValueMessageBean
public class PropertyValueMessageBean
Provides context information for errors concerning a property value.
Field Summary |
---|
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
code, localizedInfo |
Constructor Summary | |
---|---|
PropertyValueMessageBean(PropertiesCode code, Throwable cause, PropertyDescriptor propertyDescriptor, Object value) Default constructor. |
|
PropertyValueMessageBean(PropertyDescriptor propertyDescriptor, Object value) Convenience constructor with no message and no root cause. |
|
PropertyValueMessageBean(Throwable cause, PropertyDescriptor propertyDescriptor, Object value) Convenience constructor with cause. |
Method Summary | |
---|---|
Serializable |
getValue() Returns the value of the property that does not meet the constraints. |
Methods inherited from class de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean |
---|
getPropertyDescriptor |
Methods inherited from class de.smartics.properties.api.core.domain.PropertyMessageBean |
---|
getPropertyKey |
Methods inherited from class de.smartics.exceptions.i18n.AbstractMessageBean |
---|
getCause, getCauseTrail, getCauseTrail, getClassLoader, getCode, getLocalizedInfo, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedTextMessage, getLocalizedTextMessage, getLocalizedTextMessage, getMessage, getMessage, getMessage, getMessages, getMessages, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertyValueMessageBean(PropertyDescriptor propertyDescriptor, Object value)
propertyDescriptor
- the descriptor of the property raising the exception.
value
- the value of the property that does not meet the constraints. If the value is not serializable, its string representation is stored.
public PropertyValueMessageBean(Throwable cause, PropertyDescriptor propertyDescriptor, Object value)
cause
- the cause (which is saved for later retrieval by the
AbstractMessageBean.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
propertyDescriptor
- the descriptor of the property raising the exception.
value
- the value of the property that does not meet the constraints. If the value is not serializable, its string representation is stored.
public PropertyValueMessageBean(PropertiesCode code, Throwable cause, PropertyDescriptor propertyDescriptor, Object value)
code
- the error or exception code of the exception.
cause
- the cause (which is saved for later retrieval by the
AbstractMessageBean.getCause()
method). (A
null value is permitted, and indicates that the cause is nonexistent or unknown.)
propertyDescriptor
- the descriptor of the property raising the exception.
value
- the value of the property that does not meet the constraints. If the value is not serializable, its string representation is stored.
Method Detail |
---|
public final Serializable getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |