org.apache.commons.digester.plugins
Class PluginConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.digester.plugins.PluginConfigurationException
- All Implemented Interfaces:
- Serializable
public class PluginConfigurationException
- extends 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
Method Summary |
Throwable |
getCause()
Return the cause of this exception (if any) as specified in the
exception constructor. |
PluginConfigurationException
public PluginConfigurationException(Throwable cause)
- Parameters:
cause
- underlying exception that caused this to be thrown
PluginConfigurationException
public PluginConfigurationException(String msg)
- Parameters:
msg
- describes the reason this exception is being thrown.
PluginConfigurationException
public PluginConfigurationException(String msg,
Throwable cause)
- Parameters:
msg
- describes the reason this exception is being thrown.cause
- underlying exception that caused this to be thrown
getCause
public Throwable getCause()
- Return the cause of this exception (if any) as specified in the
exception constructor.
- Overrides:
getCause
in class Throwable
- Since:
- 1.8
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.