Package chemaxon.naming
Class NameFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- chemaxon.formats.MolFormatException
-
- chemaxon.naming.NameFormatException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NameFormatException.FilteredCase
,NamePrefixException
@PublicAPI public class NameFormatException extends MolFormatException
A failure to convert a name to a structure.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NameFormatException.FilteredCase
Exception signaling that the given input name should not be converted.
-
Constructor Summary
Constructors Constructor Description NameFormatException(String message)
NameFormatException(String message, String prefix)
NameFormatException(String message, Throwable cause)
NameFormatException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
fillInStackTrace()
String
getPrefix()
The part of the input name that was recognized, or null.-
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
-
-
-
-
Method Detail
-
getPrefix
public String getPrefix()
The part of the input name that was recognized, or null.
-
fillInStackTrace
public Throwable fillInStackTrace()
- Overrides:
fillInStackTrace
in classThrowable
-
-