Package org.dspace.plugin
Class PluginException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.dspace.plugin.PluginException
-
- All Implemented Interfaces:
Serializable
public class PluginException extends Exception
General exception class for all code that runs as a plugin in DSpace- Author:
- Richard Jones
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PluginException()basic constructorPluginException(String message)Construct an exception with the passed messagePluginException(String message, Throwable e)Construct an exception with the passed message to encapsulate the passed ThrowablePluginException(Throwable e)Construct an exception to encapsulate the passed Throwable
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PluginException
public PluginException()
basic constructor
-
PluginException
public PluginException(String message)
Construct an exception with the passed message- Parameters:
message- a message for the exception
-
PluginException
public PluginException(String message, Throwable e)
Construct an exception with the passed message to encapsulate the passed Throwable- Parameters:
message- a message for the exceptione- throwable which triggered this exception
-
PluginException
public PluginException(Throwable e)
Construct an exception to encapsulate the passed Throwable- Parameters:
e- the throwable which triggered this exception
-
-