Class PluginConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.digester.plugins.PluginConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
public class PluginConfigurationException extends java.lang.RuntimeException
Thrown when an error occurs due to the way the calling application uses the plugins module. Because the pre-existing Digester API doesn't provide any option for throwing checked exceptions at some points where Plugins can potentially fail, this exception extends RuntimeException so that it can "tunnel" through these points.- Since:
- 1.6
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PluginConfigurationException(java.lang.String msg)
PluginConfigurationException(java.lang.String msg, java.lang.Throwable cause)
PluginConfigurationException(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getCause()
Return the cause of this exception (if any) as specified in the exception constructor.
-
-
-
Constructor Detail
-
PluginConfigurationException
public PluginConfigurationException(java.lang.Throwable cause)
- Parameters:
cause
- underlying exception that caused this to be thrown
-
PluginConfigurationException
public PluginConfigurationException(java.lang.String msg)
- Parameters:
msg
- describes the reason this exception is being thrown.
-
PluginConfigurationException
public PluginConfigurationException(java.lang.String msg, java.lang.Throwable cause)
- Parameters:
msg
- describes the reason this exception is being thrown.cause
- underlying exception that caused this to be thrown
-
-
Method Detail
-
getCause
public java.lang.Throwable getCause()
Return the cause of this exception (if any) as specified in the exception constructor.- Overrides:
getCause
in classjava.lang.Throwable
- Since:
- 1.8
-
-