org.apache.wiki.api.exceptions
Class PluginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.wiki.api.exceptions.WikiException
org.apache.wiki.api.exceptions.PluginException
- All Implemented Interfaces:
- Serializable
public class PluginException
- extends WikiException
Provides a generic PluginException. This is the kind of an exception that the plugins should throw.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
PluginException
public PluginException(String message)
- Create a PluginException.
- Parameters:
message
-
PluginException
public PluginException(String message,
Throwable original)
- Create a PluginException with the given original exception wrapped.
- Parameters:
message
- original
- The original exception.
getRootThrowable
public Throwable getRootThrowable()
- Return the original exception.
- Returns:
- The original exception.
Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.