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

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

public class ResolveConfigurationException
     
     
extends ConfigurationException

Signals problems resolving expression in a property value.

See Also:
Serialized Form

Constructor Summary
ResolveConfigurationException(ConfigurationKey key, String expression)
          Convenience constructor without a root cause.
ResolveConfigurationException(Throwable cause, ConfigurationKey key, String expression)
          Default constructor.
 
Method Summary
 String getExpression()
          Returns the expression that cannot be resolved.
 
Methods inherited from class de.smartics.properties.api.config.domain.ConfigurationException
getKey
 
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

ResolveConfigurationException

public ResolveConfigurationException(ConfigurationKey key,
                                     String expression)
Convenience constructor without a root cause.

Parameters:
key - the key to the configuration that signaled problems.
expression - the expression that cannot be resolved.

ResolveConfigurationException

public ResolveConfigurationException(Throwable cause,
                                     ConfigurationKey key,
                                     String expression)
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.)
key - the key to the configuration that signaled problems.
expression - the expression that cannot be resolved.
Method Detail

getExpression

public final String getExpression()
Returns the expression that cannot be resolved.

Returns:
the expression that cannot be resolved.


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