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

Package class diagram package DataSourceMessageBean
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
All Implemented Interfaces:
de.smartics.exceptions.i18n.MessageBean, Serializable
Direct Known Subclasses:
DataSourceConfigurationMessageBean, DataSourcePropertyKeyMessageBean

public class DataSourceMessageBean
     
     
extends AbstractBaseMessageBean

Provides context information for problems accessing a data source containing properties.

See Also:
Serialized Form

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

DataSourceMessageBean

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

Parameters:
code - the error or exception code of the exception.
dataSourceId - the identifier of the data source.

DataSourceMessageBean

public DataSourceMessageBean(DataSourceCode code,
                             Throwable cause,
                             String dataSourceId)
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.


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