Package chemaxon.naming
Class NamePrefixException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- chemaxon.formats.MolFormatException
-
- chemaxon.naming.NameFormatException
-
- chemaxon.naming.NamePrefixException
-
- All Implemented Interfaces:
Serializable
@PublicAPI public class NamePrefixException extends NameFormatException
This exception should be thrown by aNameConverter
to indicate that even though a name cannot be converted to a structure, it is the prefix of a valid name.This is only required when
prefix mode
is enabled (but it is acceptable to throw it even outside of prefix mode).- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class chemaxon.naming.NameFormatException
NameFormatException.FilteredCase
-
-
Constructor Summary
Constructors Constructor Description NamePrefixException()
NamePrefixException(String prefix)
NamePrefixException(String prefix, String incompleteToken)
-
Method Summary
-
Methods inherited from class chemaxon.naming.NameFormatException
fillInStackTrace, getPrefix
-
Methods inherited from class chemaxon.formats.MolFormatException
getFinalCause, getLineNumberInFile, getLineNumberInRecord, setLineNumberInFile, setLineNumberInRecord
-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-