org.apache.commons.digester.plugins
Class PluginWrappedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.digester.plugins.PluginWrappedException
All Implemented Interfaces:
java.io.Serializable

public class PluginWrappedException
extends java.lang.Exception

Thrown when some other exception needs to be wrapped with an explanatory message, and none of the other exception types are appropriate.

See Also:
Serialized Form

Constructor Summary
PluginWrappedException(java.lang.String msg)
           
PluginWrappedException(java.lang.String msg, java.lang.Throwable cause)
           
PluginWrappedException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 
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

PluginWrappedException

public PluginWrappedException(java.lang.Throwable cause)
Parameters:
cause - underlying exception that caused this to be thrown

PluginWrappedException

public PluginWrappedException(java.lang.String msg)
Parameters:
msg - describes the reason this exception is being thrown.

PluginWrappedException

public PluginWrappedException(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()
Returns:
the underlying exception that caused this to be thrown


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