chemaxon.marvin.plugin.concurrent
Class PluginExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by edu.emory.mathcs.backport.java.util.concurrent.ExecutionException
              extended by chemaxon.marvin.plugin.concurrent.PluginExecutionException
All Implemented Interfaces:
java.io.Serializable

public class PluginExecutionException
extends edu.emory.mathcs.backport.java.util.concurrent.ExecutionException

Exception wrapping a cause Throwable and the plugin object which has thrown the Throwable.

Since:
Marvin 5.0
Author:
Nora Mate
See Also:
Serialized Form

Constructor Summary
PluginExecutionException(CalculatorPlugin plugin, java.lang.String message, java.lang.Throwable cause)
          Constructor.
PluginExecutionException(CalculatorPlugin plugin, java.lang.Throwable cause)
          Constructor.
 
Method Summary
 CalculatorPlugin getPlugin()
          Returns the plugin object.
 
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

PluginExecutionException

public PluginExecutionException(CalculatorPlugin plugin,
                                java.lang.Throwable cause)
Constructor.

Parameters:
plugin - the calculator plugin
cause - the throwable

PluginExecutionException

public PluginExecutionException(CalculatorPlugin plugin,
                                java.lang.String message,
                                java.lang.Throwable cause)
Constructor.

Parameters:
plugin - the calculator plugin
message - the exception message
cause - the throwable
Method Detail

getPlugin

public CalculatorPlugin getPlugin()
Returns the plugin object.

Returns:
the plugin object