de.smartics.properties.api.core.app
Class PropertyRootException

Package class diagram package PropertyRootException
java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by de.smartics.exceptions.AbstractCoreRuntimeException
                  extended by de.smartics.exceptions.i18n.AbstractMessageRuntimeException
                      extended by de.smartics.properties.api.core.app.PropertyRootException
All Implemented Interfaces:
de.smartics.exceptions.CoreException, de.smartics.exceptions.i18n.LocalizedException, Serializable
Direct Known Subclasses:
ConfigException, DuplicatePropertyDeclarationsException, PropertyException, SecurityException

@ParentMessageParam(value="cause=causeMessage:message")
public class PropertyRootException
     
     
extends de.smartics.exceptions.i18n.AbstractMessageRuntimeException

Base exception of the library for signaling an unspecific cause.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.exceptions.i18n.AbstractMessageRuntimeException
messageBean
 
Fields inherited from class de.smartics.exceptions.AbstractCoreRuntimeException
info
 
Constructor Summary
PropertyRootException(de.smartics.exceptions.i18n.MessageBean messageBean)
          Default constructor.
PropertyRootException(PropertiesCode code)
          Constructor with error code and no cause for exceptions that do no provide its context as a message bean.
PropertyRootException(Throwable cause, PropertiesCode code)
          Constructor with cause and code for exceptions that do no provide its context as a message bean.
 
Method Summary
 
Methods inherited from class de.smartics.exceptions.i18n.AbstractMessageRuntimeException
createMessages, createMessages, getCauseTrail, getCauseTrail, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedTextMessage, getLocalizedTextMessage, getLocalizedTextMessage, getMessage, getMessage, getMessage, getMessageBean, getMessages, getMessages, toString
 
Methods inherited from class de.smartics.exceptions.AbstractCoreRuntimeException
getCause, getClassLoader, getCode, getId, getTime, truncateCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.smartics.exceptions.CoreException
getCause, getCode, getId, getStackTrace, getTime, setStackTrace, truncateCause
 

Constructor Detail

PropertyRootException

public PropertyRootException(PropertiesCode code)
Constructor with error code and no cause for exceptions that do no provide its context as a message bean.

Parameters:
code - the error or exception code of the exception.

PropertyRootException

public PropertyRootException(Throwable cause,
                             PropertiesCode code)
Constructor with cause and code for exceptions that do no provide its context as a message bean.

Parameters:
cause - the cause (which is saved for later retrieval by the AbstractCoreRuntimeException.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
code - the error or exception code of the exception.

PropertyRootException

public PropertyRootException(de.smartics.exceptions.i18n.MessageBean messageBean)
Default constructor.

Parameters:
messageBean - the message information for the exception.


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