de.smartics.exceptions.i18n
Class ConfigurationException

Package class diagram package ConfigurationException
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.AbstractLocalizedRuntimeException
                      extended by de.smartics.exceptions.i18n.ConfigurationException
All Implemented Interfaces:
CoreException, LocalizedException, Serializable
Direct Known Subclasses:
PropertyAccessConfigurationException

public class ConfigurationException
     
     
extends AbstractLocalizedRuntimeException

This configuration exception is thrown if the system encountered an inconsistent configuration or configuration information was missing.

Author:
Robert Reiner
See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.smartics.exceptions.i18n.AbstractLocalizedRuntimeException
localizedInfo
 
Fields inherited from class de.smartics.exceptions.AbstractCoreRuntimeException
info
 
Constructor Summary
ConfigurationException(ConfigurationExceptionCode code)
          Constructor.
ConfigurationException(ConfigurationExceptionCode code, String bundleBaseName)
          Constructor.
ConfigurationException(Throwable cause, ConfigurationExceptionCode code)
          Constructor.
ConfigurationException(Throwable cause, ConfigurationExceptionCode code, String bundleBaseName)
          Constructor.
 
Method Summary
 
Methods inherited from class de.smartics.exceptions.i18n.AbstractLocalizedRuntimeException
getBundleBaseName, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getMessage, getMessage, getMessage, getMessages, getMessages, getResourceKey
 
Methods inherited from class de.smartics.exceptions.AbstractCoreRuntimeException
getCause, getCode, getId, getTime, toString, 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

ConfigurationException

public ConfigurationException(ConfigurationExceptionCode code,
                              String bundleBaseName)
Constructor.

Parameters:
code - the error or exception code of the exception.
bundleBaseName - the fully qualified name of the bundle to use.
See Also:
AbstractLocalizedRuntimeException.AbstractLocalizedRuntimeException(Code,String)

ConfigurationException

public ConfigurationException(ConfigurationExceptionCode code)
Constructor.

Parameters:
code - the error or exception code of the exception.
See Also:
AbstractLocalizedRuntimeException.AbstractLocalizedRuntimeException(de.smartics.exceptions.core.Code)

ConfigurationException

public ConfigurationException(Throwable cause,
                              ConfigurationExceptionCode code,
                              String bundleBaseName)
Constructor.

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.
bundleBaseName - the fully qualified name of the bundle to use.
See Also:
AbstractLocalizedRuntimeException.AbstractLocalizedRuntimeException(java.lang.Throwable,de.smartics.exceptions.core.Code,String)

ConfigurationException

public ConfigurationException(Throwable cause,
                              ConfigurationExceptionCode code)
Constructor.

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.
See Also:
AbstractLocalizedRuntimeException.AbstractLocalizedRuntimeException(Throwable,de.smartics.exceptions.core.Code)


Copyright © 2007-null Kronseder & Reiner GmbH - smartics. All Rights Reserved.