Package chemaxon.calculations
Class CalculatorPluginException
java.lang.Object
java.lang.Throwable
java.lang.Exception
chemaxon.calculations.CalculatorPluginException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CalculatorPluginInputException
Exception thrown in case of plugin processing or calculation errors.
Other exceptions raised during plugin processing are wrapped into a
CalculatorPluginException, so that the caller should catch only this exception.
The wrapped exception can be accessed by the getException() method.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Constructor with message.CalculatorPluginException(String msg, Throwable e) Constructor with wrapped exception.Constructor with wrapped exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CalculatorPluginException
public CalculatorPluginException()Default constructor. -
CalculatorPluginException
Constructor with message.- Parameters:
msg- is the exception message.
-
CalculatorPluginException
Constructor with wrapped exception.- Parameters:
e- is the wrapped exception
-
CalculatorPluginException
Constructor with wrapped exception.- Parameters:
msg- is the exception message.e- is the wrapped exception
-
-
Method Details
-
getException
Returns the wrapped exception.- Returns:
- the wrapped exception
-