de.smartics.properties.spi.config.ds
Class DataSourceConfigurationMessageBean

Package class diagram package DataSourceConfigurationMessageBean
java.lang.Object
  extended by de.smartics.exceptions.i18n.AbstractMessageBean
      extended by de.smartics.properties.api.core.app.AbstractBaseMessageBean
          extended by de.smartics.properties.spi.config.ds.DataSourceMessageBean
              extended by de.smartics.properties.spi.config.ds.DataSourceConfigurationMessageBean
All Implemented Interfaces:
de.smartics.exceptions.i18n.MessageBean, Serializable

public class DataSourceConfigurationMessageBean
     
     
extends DataSourceMessageBean

Provides context information for problems accessing a data source to fetch properties for a given configuration.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean
code, localizedInfo
 
Constructor Summary
DataSourceConfigurationMessageBean(DataSourceCode code, String dataSourceId, String config)
          Constructor without cause.
DataSourceConfigurationMessageBean(DataSourceCode code, Throwable cause, String dataSourceId, String config)
          Default constructor.
 
Method Summary
 
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

DataSourceConfigurationMessageBean

public DataSourceConfigurationMessageBean(DataSourceCode code,
                                          String dataSourceId,
                                          String config)
Constructor without cause.

Parameters:
code - the error or exception code of the exception.
dataSourceId - the identifier of the data source.
config - the the key that identifies the configuration.

DataSourceConfigurationMessageBean

public DataSourceConfigurationMessageBean(DataSourceCode code,
                                          Throwable cause,
                                          String dataSourceId,
                                          String config)
Default constructor.

Parameters:
code - the error or exception code of the exception.
cause - the cause to the problem.
dataSourceId - the identifier of the data source.
config - the the key that identifies the configuration.


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