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

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

public class DataSourcePropertyKeyMessageBean
     
     
extends DataSourceMessageBean

Provides context information for problems accessing a data source containing properties identified by a property key.

See Also:
Serialized Form

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

DataSourcePropertyKeyMessageBean

public DataSourcePropertyKeyMessageBean(DataSourceCode code,
                                        String dataSourceId,
                                        String path,
                                        String propertyKey)
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.

DataSourcePropertyKeyMessageBean

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


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