Class UncheckedConfigurationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.bookkeeper.conf.UncheckedConfigurationException
All Implemented Interfaces:
Serializable

public class UncheckedConfigurationException extends RuntimeException
Wraps a ConfigurationException with an unchecked exception.
Since:
4.7.0
See Also:
  • Constructor Details

    • UncheckedConfigurationException

      public UncheckedConfigurationException(String message, org.apache.commons.configuration2.ex.ConfigurationException cause)
      Constructs an instance of this class.
      Parameters:
      message - the detail message, can be null
      cause - the ConfigurationException
      Throws:
      NullPointerException - if the cause is null
    • UncheckedConfigurationException

      public UncheckedConfigurationException(org.apache.commons.configuration2.ex.ConfigurationException cause)
      Constructs an instance of this class.
      Parameters:
      cause - the IOException
      Throws:
      NullPointerException - if the cause is null
  • Method Details

    • getCause

      public org.apache.commons.configuration2.ex.ConfigurationException getCause()
      Returns the cause of this exception.
      Overrides:
      getCause in class Throwable
      Returns:
      the IOException which is the cause of this exception.