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

Package class diagram package ConfigurationMessageBean
java.lang.Object
  extended by de.smartics.exceptions.i18n.AbstractMessageBean
      extended by de.smartics.properties.api.core.app.AbstractBaseMessageBean
          extended by de.smartics.properties.api.config.domain.ConfigurationMessageBean
All Implemented Interfaces:
de.smartics.exceptions.i18n.MessageBean, Serializable
Direct Known Subclasses:
CannotWriteToStreamTransferMessageBean, InvalidEscaperTransferMessageBean, TransferMessageBean

public class ConfigurationMessageBean
     
     
extends AbstractBaseMessageBean

Provides context information for transfer problems.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean
code, localizedInfo
 
Constructor Summary
ConfigurationMessageBean(ConfigurationsCode code, ConfigurationKey<?> key)
          Constructor without cause.
ConfigurationMessageBean(ConfigurationsCode code, Throwable cause, ConfigurationKey<?> key)
          Default constructor.
 
Method Summary
 ConfigurationKey<?> getKey()
          Returns the key to the configuration that signaled problems.
 
Methods inherited from class de.smartics.exceptions.i18n.AbstractMessageBean
getCause, getCauseTrail, getCauseTrail, getClassLoader, getCode, getLocalizedInfo, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedTextMessage, getLocalizedTextMessage, getLocalizedTextMessage, getMessage, getMessage, getMessage, getMessages, getMessages, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationMessageBean

public ConfigurationMessageBean(ConfigurationsCode code,
                                ConfigurationKey<?> key)
Constructor without cause.

Parameters:
code - the error or exception code of the exception.
key - the key to the configuration that signaled problems.

ConfigurationMessageBean

public ConfigurationMessageBean(ConfigurationsCode code,
                                Throwable cause,
                                ConfigurationKey<?> key)
Default constructor.

Parameters:
code - the error or exception code of the exception.
cause - the cause to the problem.
key - the key to the configuration that signaled problems.
Method Detail

getKey

public final ConfigurationKey<?> getKey()
Returns the key to the configuration that signaled problems.

Returns:
the key to the configuration that signaled problems.


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