Class UncheckedConfigurationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UncheckedConfigurationException
    extends java.lang.RuntimeException
    Wraps a ConfigurationException with an unchecked exception.
    Since:
    4.7.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UncheckedConfigurationException​(java.lang.String message, org.apache.commons.configuration.ConfigurationException cause)
      Constructs an instance of this class.
      UncheckedConfigurationException​(org.apache.commons.configuration.ConfigurationException cause)
      Constructs an instance of this class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.commons.configuration.ConfigurationException getCause()
      Returns the cause of this exception.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UncheckedConfigurationException

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

        public UncheckedConfigurationException​(org.apache.commons.configuration.ConfigurationException cause)
        Constructs an instance of this class.
        Parameters:
        cause - the IOException
        Throws:
        java.lang.NullPointerException - if the cause is null
    • Method Detail

      • getCause

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