org.apache.commons.digester.plugins

Class PluginConfigurationException

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

Constructor Summary
PluginConfigurationException(Throwable cause)
PluginConfigurationException(String msg)
PluginConfigurationException(String msg, Throwable cause)
Method Summary
ThrowablegetCause()
Return the cause of this exception (if any) as specified in the exception constructor.

Constructor Detail

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

Method Detail

getCause

public Throwable getCause()
Return the cause of this exception (if any) as specified in the exception constructor.

Since: 1.8

Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.