org.apache.commons.digester.plugins
Class PluginConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
PluginConfigurationException(String msg)
           
PluginConfigurationException(String msg, Throwable cause)
           
PluginConfigurationException(Throwable cause)
           
 
Method Summary
 Throwable getCause()
          Return the cause of this exception (if any) as specified in the exception constructor.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.

Overrides:
getCause in class Throwable
Since:
1.8


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.