de.smartics.properties.api.config.domain
Class PropertyValidationWithSourceMessageBean

Package class diagram package PropertyValidationWithSourceMessageBean
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
                  extended by de.smartics.properties.api.core.domain.PropertyValueMessageBean
                      extended by de.smartics.properties.api.core.domain.PropertyValidationMessageBean
                          extended by de.smartics.properties.api.config.domain.PropertyValidationWithSourceMessageBean
All Implemented Interfaces:
de.smartics.exceptions.i18n.MessageBean, Serializable

public class PropertyValidationWithSourceMessageBean
     
     
extends PropertyValidationMessageBean

Provides information about property violations including the source location.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean
code, localizedInfo
 
Constructor Summary
PropertyValidationWithSourceMessageBean(PropertyValidationException original, PropertyLocation source)
          Default constructor.
 
Method Summary
 PropertyLocation getSource()
          Returns the source where the property value has been defined.
 
Methods inherited from class de.smartics.properties.api.core.domain.PropertyValidationMessageBean
getConstraints, getValidationMessage
 
Methods inherited from class de.smartics.properties.api.core.domain.PropertyValueMessageBean
getValue
 
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

PropertyValidationWithSourceMessageBean

public PropertyValidationWithSourceMessageBean(PropertyValidationException original,
                                               PropertyLocation source)
Default constructor.

Parameters:
original - the original property validation exception without the origin information.
source - the source where the property value has been defined.
Method Detail

getSource

public final PropertyLocation getSource()
Returns the source where the property value has been defined.

Returns:
the source where the property value has been defined.


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