Class CDKException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openscience.cdk.exception.CDKException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DescriptorException, Intractable, InvalidSmilesException, NoSuchAtomTypeException, UnsupportedChemObjectException

public class CDKException extends Exception
Exception that is thrown by CDK classes when some problem has occurred.
See Also:
Source code:
main
Belongs to CDK module:
core
  • Constructor Details

    • CDKException

      public CDKException(String message)
      Constructs a new CDKException with the given message.
      Parameters:
      message - for the constructed exception
    • CDKException

      public CDKException(String message, Throwable cause)
      Constructs a new CDKException with the given message and the Exception as cause.
      Parameters:
      message - for the constructed exception
      cause - the Throwable that triggered this CDKException