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:
java.io.Serializable
public class UncheckedConfigurationException extends java.lang.RuntimeException
Wraps aConfigurationException
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.
-
-
-
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 nullcause
- theConfigurationException
- Throws:
java.lang.NullPointerException
- if the cause isnull
-
UncheckedConfigurationException
public UncheckedConfigurationException(org.apache.commons.configuration.ConfigurationException cause)
Constructs an instance of this class.- Parameters:
cause
- theIOException
- Throws:
java.lang.NullPointerException
- if the cause isnull
-
-