dsto.dfc.util.plugins
Class PluginException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by dsto.dfc.util.plugins.PluginException
All Implemented Interfaces:
Serializable

public class PluginException
extends Exception

The Exception thrown when an error occurs loading a plugin.

Version:
$Revision$
See Also:
Serialized Form

Constructor Summary
PluginException(String plugin, String message)
           
PluginException(String plugin, Throwable subException)
          Constructor.
 
Method Summary
 String getPlugin()
          The name of the plugin.
 Throwable getSubException()
          The sub-exception.
 
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(String plugin,
                       String message)

PluginException

public PluginException(String plugin,
                       Throwable subException)
Constructor.

Parameters:
plugin - The name of the plugin
subException - The exception that triggered the error.
Method Detail

getPlugin

public String getPlugin()
The name of the plugin.


getSubException

public Throwable getSubException()
The sub-exception. May be null.



Copyright © 2008 Commonwealth of Australia