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

Package class diagram package NullValuePropertyException
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.NullValuePropertyException
All Implemented Interfaces:
Serializable

public class NullValuePropertyException
     
     
extends UnresolvablePropertyException

Signals that a property resolvement is not possible since a placeholder has a null value.

See Also:
Serialized Form

Constructor Summary
NullValuePropertyException(String propertyKey, List<String> path)
          Convenience constructor without root cause.
NullValuePropertyException(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

NullValuePropertyException

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

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

NullValuePropertyException

public NullValuePropertyException(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 unknown property point.


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