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

Package class diagram package PropertyValueConversionWithSourceException
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.PropertyValueConversionException
                              extended by de.smartics.properties.api.config.domain.PropertyValueConversionWithSourceException
All Implemented Interfaces:
Serializable

public class PropertyValueConversionWithSourceException
     
     
extends PropertyValueConversionException

Signals that the value does not match the given constraints and provides information about the source location of the culprit.

See Also:
Serialized Form

Constructor Summary
PropertyValueConversionWithSourceException(PropertyValueConversionException 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.PropertyValueConversionException
getValue
 
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

PropertyValueConversionWithSourceException

public PropertyValueConversionWithSourceException(PropertyValueConversionException 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.