Class ConfigException

  • All Implemented Interfaces:
    Serializable

    public class ConfigException
    extends Exception
    Exception thrown when a web container component fails to be (re)configured, or if it fails to be registered with another web container component because its id (in the case of VirtualServer and WebListener) or context root (in the case of Context) is already taken.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConfigException

        protected ConfigException()
        Constructs a ConfigException with no detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
      • ConfigException

        public ConfigException​(String message)
        Constructs a ConfigException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.
        Parameters:
        message - the detail message
      • ConfigException

        public ConfigException​(String message,
                               Throwable cause)
        Constructs a ConfigException with the specified detail message and cause.
        Parameters:
        message - the detail message
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)
      • ConfigException

        public ConfigException​(Throwable cause)
        Constructs a ConfigException with the specified cause. The detail message is set to:
          (cause == null ? null : cause.toString())
        (which typically contains the class and detail message of cause).
        Parameters:
        cause - the cause (which is saved for later retrieval by the Throwable.getCause() method)