de.smartics.properties.api.core.domain
Class PropertyMessageBean

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

public class PropertyMessageBean
     
     
extends AbstractBaseMessageBean

Provides context information for errors concerning a property.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageBean
code, localizedInfo
 
Constructor Summary
PropertyMessageBean(PropertiesCode code, Throwable cause, PropertyKey propertyKey)
          Default constructor.
 
Method Summary
 PropertyKey getPropertyKey()
          Returns the key of the property raising the exception.
 
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

PropertyMessageBean

public PropertyMessageBean(PropertiesCode code,
                           Throwable cause,
                           PropertyKey propertyKey)
Default constructor.

Parameters:
code - the error or exception code of the exception.
cause - the cause to the problem.
propertyKey - the key of the property raising the exception.
Method Detail

getPropertyKey

public final PropertyKey getPropertyKey()
Returns the key of the property raising the exception.

Returns:
the key of the property raising the exception.


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