de.smartics.properties.api.config.domain
Class MissingConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.smartics.properties.api.core.app.PropertyRootException
de.smartics.properties.api.config.domain.ConfigurationException
de.smartics.properties.api.config.domain.MissingConfigurationException
-
All Implemented Interfaces:
-
Serializable
-
public class MissingConfigurationException
-
extends
ConfigurationException
Signals that a configuration with the given key cannot be found.
-
See Also:
-
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
MissingConfigurationException
public MissingConfigurationException(ConfigurationKey key)
-
Convenience constructor without root cause.
-
Parameters:
-
key
- the key to the configuration that signaled problems.
MissingConfigurationException
public MissingConfigurationException(Throwable cause,
ConfigurationKey key)
-
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.
Copyright © 2012-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.