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

Package class diagram package PropertyValueResolveWithSourceException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.smartics.properties.api.core.app.PropertyRootException
                  extended by de.smartics.properties.api.core.domain.PropertyException
                      extended by de.smartics.properties.api.core.domain.PropertyDescriptorException
                          extended by de.smartics.properties.api.core.domain.PropertyValueResolveException
                              extended by de.smartics.properties.api.config.domain.PropertyValueResolveWithSourceException
All Implemented Interfaces:
Serializable

public class PropertyValueResolveWithSourceException
     
     
extends PropertyValueResolveException

Signals that the value cannot be resolve and provides information about the source location of the culprit. Therefore the expression contains unresolved placeholders.

See Also:
Serialized Form

Constructor Summary
PropertyValueResolveWithSourceException(PropertyValueResolveException 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.PropertyValueResolveException
getExpression
 
Methods inherited from class de.smartics.properties.api.core.domain.PropertyDescriptorException
appendMetaDataMessage, getMetaDataMessage, getPropertyDescriptor
 
Methods inherited from class de.smartics.properties.api.core.domain.PropertyException
getPropertyKey
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyValueResolveWithSourceException

public PropertyValueResolveWithSourceException(PropertyValueResolveException 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.