Package org.openscience.cdk.exception
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
,RInChIException
,UnsupportedChemObjectException
public class CDKException extends Exception
Exception that is thrown by CDK classes when some problem has occurred.- See Also:
- Serialized Form
- Source code:
- main
- Belongs to CDK module:
- core
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CDKException
public CDKException(String message)
Constructs a new CDKException with the given message.- Parameters:
message
- for the constructed exception
-
-