de.smartics.properties.api.config.domain
Class UnknownPropertyException
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.UnknownPropertyException
-
All Implemented Interfaces:
-
Serializable
-
public class UnknownPropertyException
-
extends
ConfigurationException
Signals that a property is unknown.
-
See Also:
-
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnknownPropertyException
public UnknownPropertyException(ConfigurationKey key,
String propertyKey)
-
Convenience constructor without root cause.
-
Parameters:
-
key
- the key to the configuration that signaled problems.
-
propertyKey
- the key to the unknown property.
UnknownPropertyException
public UnknownPropertyException(Throwable cause,
ConfigurationKey key,
String propertyKey)
-
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.
-
propertyKey
- the key to the unknown property.
getPropertyKey
public final String getPropertyKey()
-
Returns the key to the unknown property.
-
-
Returns:
-
the key to the unknown property.
Copyright © 2012-2013
Kronseder & Reiner GmbH - smartics. All Rights Reserved.