@TestClass(value="org.openscience.cdk.exception.CDKExceptionTest") public class CDKException extends Exception
Constructor and Description |
---|
CDKException(String message)
Constructs a new CDKException with the given message.
|
CDKException(String message,
Throwable cause)
Constructs a new CDKException with the given message and the
Exception as cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@TestMethod(value="testCDKException_String") public CDKException(String message)
message
- for the constructed exception@TestMethod(value="testCDKException_String_Throwable") public CDKException(String message, Throwable cause)
message
- for the constructed exceptioncause
- the Throwable that triggered this CDKException