Class ConfigurationException

  • All Implemented Interfaces:
    java.io.Serializable, CascadingThrowable

    public class ConfigurationException
    extends CascadingException
    Thrown when a Configurable component cannot be configured properly, or if a value cannot be retrieved properly.
    Version:
    $Id: ConfigurationException.java 55776 2004-10-27 23:36:25 -0500 (Wed, 27 Oct 2004) leif $
    Author:
    Avalon Development Team
    See Also:
    Serialized Form
    • Constructor Detail

      • ConfigurationException

        public ConfigurationException​(Configuration config)
        Construct a new ConfigurationException instance.
        Parameters:
        config - The offending configuration object
      • ConfigurationException

        public ConfigurationException​(java.lang.String message)
        Construct a new ConfigurationException instance.
        Parameters:
        message - The detail message for this exception.
      • ConfigurationException

        public ConfigurationException​(java.lang.String message,
                                      java.lang.Throwable throwable)
        Construct a new ConfigurationException instance.
        Parameters:
        message - The detail message for this exception.
        throwable - the root cause of the exception
      • ConfigurationException

        public ConfigurationException​(java.lang.String message,
                                      Configuration config)
        Construct a new ConfigurationException instance.
        Parameters:
        message - The detail message for this exception.
        config - The configuration object
      • ConfigurationException

        public ConfigurationException​(java.lang.String message,
                                      Configuration config,
                                      java.lang.Throwable throwable)
        Construct a new ConfigurationException instance.
        Parameters:
        message - The detail message for this exception.
        throwable - the root cause of the exception
    • Method Detail

      • getOffendingConfiguration

        public Configuration getOffendingConfiguration()
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable