de.smartics.properties.spi.config.resolve
Class UnresolvablePropertyException

Package class diagram package UnresolvablePropertyException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.smartics.properties.spi.config.resolve.UnresolvablePropertyException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NullValuePropertyException, RecursivePropertyException

public class UnresolvablePropertyException
     
     
extends RuntimeException

Signals that a property is not resolvable.

See Also:
Serialized Form

Constructor Summary
UnresolvablePropertyException(String propertyKey, List<String> path)
          Convenience constructor without root cause.
UnresolvablePropertyException(Throwable cause, String propertyKey, List<String> path)
          Default Constructor.
 
Method Summary
 List<String> getPath()
          Returns the path to the recursive point.
 String getPropertyKey()
          Returns the key to the unknown property.
 
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

UnresolvablePropertyException

public UnresolvablePropertyException(String propertyKey,
                                     List<String> path)
Convenience constructor without root cause.

Parameters:
propertyKey - the key to the unknown property.
path - the path to the recursive point.

UnresolvablePropertyException

public UnresolvablePropertyException(Throwable cause,
                                     String propertyKey,
                                     List<String> path)
Default Constructor.

Parameters:
cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
propertyKey - the key to the unknown property.
path - the path to the recursive point.
Method Detail

getPropertyKey

public final String getPropertyKey()
Returns the key to the unknown property.

Returns:
the key to the unknown property.

getPath

public final List<String> getPath()
Returns the path to the recursive point.

Returns:
the path to the recursive point.


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