de.smartics.properties.api.config.domain
Class PropertyValueConversionWithSourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.smartics.properties.api.core.app.PropertyRootException
de.smartics.properties.api.core.domain.PropertyException
de.smartics.properties.api.core.domain.PropertyDescriptorException
de.smartics.properties.api.core.domain.PropertyValueConversionException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.
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.