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

Package class diagram package UnknownPropertyException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.smartics.exceptions.AbstractCoreRuntimeException
                  extended by de.smartics.exceptions.i18n.AbstractMessageRuntimeException
                      extended by de.smartics.properties.api.core.app.PropertyRootException
                          extended by de.smartics.properties.api.config.codes.ConfigurationRootException
                              extended by de.smartics.properties.api.config.domain.ConfigurationException
                                  extended by de.smartics.properties.api.config.domain.UnknownPropertyException
All Implemented Interfaces:
de.smartics.exceptions.CoreException, de.smartics.exceptions.i18n.LocalizedException, Serializable

public class UnknownPropertyException
     
     
extends ConfigurationException

Signals that a property is unknown.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageRuntimeException
messageBean
 
Fields inherited from class de.smartics.exceptions.AbstractCoreRuntimeException
info
 
Constructor Summary
UnknownPropertyException(ConfigurationKey<?> key, String propertyKey)
          Convenience constructor without root cause.
UnknownPropertyException(Throwable cause, ConfigurationKey<?> key, String propertyKey)
          Default Constructor.
 
Method Summary
 String getPropertyKey()
          Returns the key to the unknown property.
 
Methods inherited from class de.smartics.properties.api.config.domain.ConfigurationException
getKey
 
Methods inherited from class de.smartics.exceptions.i18n.AbstractMessageRuntimeException
createMessages, createMessages, getCauseTrail, getCauseTrail, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedTextMessage, getLocalizedTextMessage, getLocalizedTextMessage, getMessage, getMessage, getMessage, getMessageBean, getMessages, getMessages, toString
 
Methods inherited from class de.smartics.exceptions.AbstractCoreRuntimeException
getCause, getClassLoader, getCode, getId, getTime, truncateCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.smartics.exceptions.CoreException
getCause, getCode, getId, getStackTrace, getTime, setStackTrace, truncateCause
 

Constructor Detail

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 AbstractCoreRuntimeException.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.
Method Detail

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.