Groovy Documentation

com.ace.mws.plugins
[Java] Class PluginStopException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          com.ace.mws.plugins.PluginStopException

public class PluginStopException
extends Exception

Signifies that a plugin was not able to be stopped without errors.
Contains an additional property that can be retrieved with getPluginRunning().

Authors:
bsaville


Field Summary
private boolean pluginRunning

private static long serialVersionUID

 
Constructor Summary
PluginStopException()

PluginStopException(String message)

PluginStopException(String message, Exception ex)

PluginStopException(boolean pluginRunning)

Creates a new exception with the getPluginRunning() property set to the specified value.

PluginStopException(String message, boolean pluginRunning)

Creates a new exception with the getPluginRunning() property set to the specified value.

PluginStopException(String message, Exception ex, boolean pluginRunning)

Creates a new exception with the getPluginRunning() property set to the specified value.

 
Method Summary
boolean getPluginRunning()

This value is currently unused in plugins, but may be used by custom plugin types to support possible functionality

Retrieves whether or not the plugin is actually running after the exception occurred.

 
Methods inherited from class Exception
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Throwable
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll
 

Field Detail

pluginRunning

private boolean pluginRunning


serialVersionUID

private static final long serialVersionUID


 
Constructor Detail

PluginStopException

public PluginStopException()


PluginStopException

public PluginStopException(String message)


PluginStopException

public PluginStopException(String message, Exception ex)


PluginStopException

public PluginStopException(boolean pluginRunning)
Creates a new exception with the getPluginRunning() property set to the specified value.
Parameters:
pluginRunning - True if the plugin is running, false otherwise


PluginStopException

public PluginStopException(String message, boolean pluginRunning)
Creates a new exception with the getPluginRunning() property set to the specified value.
Parameters:
message - A typical exception message
pluginRunning - True if the plugin is running, false otherwise


PluginStopException

public PluginStopException(String message, Exception ex, boolean pluginRunning)
Creates a new exception with the getPluginRunning() property set to the specified value.
Parameters:
message - A typical exception message
ex - An inner exception
pluginRunning - True if the plugin is running, false otherwise


 
Method Detail

getPluginRunning

public boolean getPluginRunning()
This value is currently unused in plugins, but may be used by custom plugin types to support possible functionality

Retrieves whether or not the plugin is actually running after the exception occurred.

Returns:
True if running, false otherwise


 

Groovy Documentation