Package org.apache.bookkeeper.conf
Class UncheckedConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.bookkeeper.conf.UncheckedConfigurationException
- All Implemented Interfaces:
Serializable
Wraps a
ConfigurationException with an unchecked exception.- Since:
- 4.7.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUncheckedConfigurationException(String message, org.apache.commons.configuration2.ex.ConfigurationException cause) Constructs an instance of this class.UncheckedConfigurationException(org.apache.commons.configuration2.ex.ConfigurationException cause) Constructs an instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.configuration2.ex.ConfigurationExceptiongetCause()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
-
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 nullcause- theConfigurationException- Throws:
NullPointerException- if the cause isnull
-
UncheckedConfigurationException
public UncheckedConfigurationException(org.apache.commons.configuration2.ex.ConfigurationException cause) Constructs an instance of this class.- Parameters:
cause- theIOException- Throws:
NullPointerException- if the cause isnull
-
-
Method Details