Package org.openscience.cdk.exception
Class InvalidSmilesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openscience.cdk.exception.CDKException
org.openscience.cdk.exception.InvalidSmilesException
- All Implemented Interfaces:
Serializable
Exception thrown when an error is occurred during SMILES parsing.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidSmilesException(String message) Constructs a new exception with a custom message.InvalidSmilesException(String message, Exception exception) Constructs a new exception with a custom message and a stacktrace. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidSmilesException
Constructs a new exception with a custom message.- Parameters:
message- the custom message detailing what may be wrong with the SMILES.
-
InvalidSmilesException
Constructs a new exception with a custom message and a stacktrace.- Parameters:
message- the custom message detailing what may be wrong with the SMILES.exception- the underlying exception
-