Class ConfigurationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.logging.log4j.core.config.ConfigurationException
All Implemented Interfaces:
Serializable

public class ConfigurationException extends RuntimeException
This exception is thrown when an error occurs reading from, parsing, using, or initializing the Log4j 2 configuration. It is also thrown if an appender cannot be created based on the configuration provided.
See Also:
  • Constructor Details

    • ConfigurationException

      public ConfigurationException(String message)
      Constructs an exception with a message.
      Parameters:
      message - The reason for the exception
    • ConfigurationException

      public ConfigurationException(String message, Throwable cause)
      Constructs an exception with a message and underlying cause.
      Parameters:
      message - The reason for the exception
      cause - The underlying cause of the exception
    • ConfigurationException

      public ConfigurationException(Throwable cause)
      Constructs an exception with a message and underlying cause.
      Parameters:
      cause - The underlying cause of the exception