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

Package class diagram package RecursivePropertyException
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
                  extended by de.smartics.properties.spi.config.resolve.RecursivePropertyException
All Implemented Interfaces:
Serializable

public class RecursivePropertyException
     
     
extends UnresolvablePropertyException

Signals that a property is not resolvable due to recursive definition.

See Also:
Serialized Form

Constructor Summary
RecursivePropertyException(String propertyKey, List<String> path)
          Convenience constructor without root cause.
RecursivePropertyException(Throwable cause, String propertyKey, List<String> path)
          Default Constructor.
 
Method Summary
 
Methods inherited from class de.smartics.properties.spi.config.resolve.UnresolvablePropertyException
getPath, 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

RecursivePropertyException

public RecursivePropertyException(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.

RecursivePropertyException

public RecursivePropertyException(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.


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