Class ConfigurationRuntimeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.configuration2.ex.ConfigurationRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConfigurationDeniedException, ConversionException

public class ConfigurationRuntimeException extends RuntimeException
A configuration related runtime exception.
Since:
1.0
See Also:
  • Constructor Details

    • ConfigurationRuntimeException

      public ConfigurationRuntimeException()
      Constructs a new ConfigurationRuntimeException without specified detail message.
    • ConfigurationRuntimeException

      public ConfigurationRuntimeException(String message)
      Constructs a new ConfigurationRuntimeException with specified detail message.
      Parameters:
      message - the error message
    • ConfigurationRuntimeException

      public ConfigurationRuntimeException(String message, Object... args)
      Constructs a new ConfigurationRuntimeException with specified detail message using String.format(String,Object...).
      Parameters:
      message - the error message.
      args - arguments to the error message.
      See Also:
    • ConfigurationRuntimeException

      public ConfigurationRuntimeException(String message, Throwable cause)
      Constructs a new ConfigurationRuntimeException with specified detail message and nested Throwable.
      Parameters:
      message - the error message.
      cause - the exception or error that caused this exception to be thrown.
    • ConfigurationRuntimeException

      public ConfigurationRuntimeException(Throwable cause)
      Constructs a new ConfigurationRuntimeException with specified nested Throwable.
      Parameters:
      cause - the exception or error that caused this exception to be thrown.
    • ConfigurationRuntimeException

      public ConfigurationRuntimeException(Throwable cause, String format, Object... params)
      Constructs a new ConfigurationRuntimeException with specified detail message.
      Parameters:
      cause - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      format - the error message for for String.format(String, Object...).
      params - the error parameters for for String.format(String, Object...).
      Since:
      2.14.0