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

Package class diagram package DataSourcePropertyMessageBean
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.DataSourcePropertyKeyMessageBean
                  extended by de.smartics.properties.spi.config.ds.DataSourcePropertyMessageBean
All Implemented Interfaces:
de.smartics.exceptions.i18n.MessageBean, Serializable

public class DataSourcePropertyMessageBean
     
     
extends DataSourcePropertyKeyMessageBean

Provides context information for problems accessing a data source containing properties specified by a property key and value.

See Also:
Serialized Form

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

DataSourcePropertyMessageBean

public DataSourcePropertyMessageBean(DataSourceCode code,
                                     String dataSourceId,
                                     String path,
                                     String propertyKey,
                                     String propertyValue)
Constructor without cause.

Parameters:
code - the error or exception code of the exception.
dataSourceId - the identifier of the data source.
path - the path to the table that contains the property.
propertyKey - the identifier of the property key that caused problems.
propertyValue - the value the property should have been set to.

DataSourcePropertyMessageBean

public DataSourcePropertyMessageBean(DataSourceCode code,
                                     Throwable cause,
                                     String dataSourceId,
                                     String path,
                                     String propertyKey,
                                     String propertyValue)
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.
path - the path to the table that contains the property.
propertyKey - the identifier of the property key that caused problems.
propertyValue - the value the property should have been set to.


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