de.smartics.properties.api.config.domain
Class ConfigurationNotFoundException

Package class diagram package ConfigurationNotFoundException
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.api.config.domain.ConfigurationLoadingException
                          extended by de.smartics.properties.api.config.domain.ConfigurationNotFoundException
All Implemented Interfaces:
Serializable

public final class ConfigurationNotFoundException
     
     
extends ConfigurationLoadingException

Signals that configuration with the given key cannot be found as a resource.

See Also:
Serialized Form

Constructor Summary
ConfigurationNotFoundException(ConfigurationKey key, String resourceId)
          Convenience constructor without root cause.
ConfigurationNotFoundException(Throwable cause, ConfigurationKey key, String resourceId)
          Default Constructor.
 
Method Summary
 
Methods inherited from class de.smartics.properties.api.config.domain.ConfigurationLoadingException
getResourceId
 
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

ConfigurationNotFoundException

public ConfigurationNotFoundException(ConfigurationKey key,
                                      String resourceId)
Convenience constructor without root cause.

Parameters:
key - the key to the configuration that signaled problems.
resourceId - the string representation of the path of the properties resource that cannot be loaded.

ConfigurationNotFoundException

public ConfigurationNotFoundException(Throwable cause,
                                      ConfigurationKey key,
                                      String resourceId)
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.
resourceId - the string representation of the path of the properties resource that cannot be loaded.


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