de.smartics.properties.api.core.domain
Class PropertyDescriptorMessageBean

Package class diagram package PropertyDescriptorMessageBean
java.lang.Object
  extended by de.smartics.exceptions.i18n.AbstractMessageBean
      extended by de.smartics.properties.api.core.app.AbstractBaseMessageBean
          extended by de.smartics.properties.api.core.domain.PropertyMessageBean
              extended by de.smartics.properties.api.core.domain.PropertyDescriptorMessageBean
All Implemented Interfaces:
de.smartics.exceptions.i18n.MessageBean, Serializable
Direct Known Subclasses:
PropertyDescriptorClashingMessageBean, PropertyExpressionMessageBean, PropertyValueChangeMessageBean, PropertyValueMessageBean

public class PropertyDescriptorMessageBean
     
     
extends PropertyMessageBean

Provides context information for errors concerning a property.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean
code, localizedInfo
 
Constructor Summary
PropertyDescriptorMessageBean(PropertiesCode code, Throwable cause, PropertyDescriptor propertyDescriptor)
          Default constructor.
 
Method Summary
 PropertyDescriptor getPropertyDescriptor()
          Returns the descriptor of the property raising the exception.
 
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

PropertyDescriptorMessageBean

public PropertyDescriptorMessageBean(PropertiesCode code,
                                     Throwable cause,
                                     PropertyDescriptor propertyDescriptor)
Default constructor.

Parameters:
code - the error or exception code of the exception.
cause - the cause to the problem.
propertyDescriptor - the descriptor of the property raising the exception.
Method Detail

getPropertyDescriptor

public final PropertyDescriptor getPropertyDescriptor()
Returns the descriptor of the property raising the exception.

Returns:
the descriptor of the property raising the exception.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.