org.dspace.plugin
Class PluginException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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
PluginException()
          basic constructor
PluginException(String message)
          Construct an exception with the passed message
PluginException(String message, Throwable e)
          Construct an exception with the passed message to encapsulate the passed Throwable
PluginException(Throwable e)
          Construct an exception to encapsulate the passed Throwable
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

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 exception
e - 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


Copyright © 2010 DuraSpace. All Rights Reserved.