public class MolFormatException extends IOException
Constructor and Description |
---|
MolFormatException()
Creates a molecule format exception.
|
MolFormatException(String s)
Creates a molecule format exception with the specified message.
|
MolFormatException(String s,
Throwable cause)
Creates a molecule format exception with the specified message and
cause.
|
MolFormatException(Throwable cause)
Creates a molecule format exception with the specified cause.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getFinalCause()
Gets the final cause of the exception.
|
int |
getLineNumberInFile()
Gets the line number relative to the first line of the file.
|
int |
getLineNumberInRecord()
Gets the line number relative to the first line of the record.
|
void |
setLineNumberInFile(int l)
Sets the line number relative to the first line of the file.
|
void |
setLineNumberInRecord(int l)
Sets the line number relative to the first line of the record.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MolFormatException()
public MolFormatException(String s)
s
- the messagepublic MolFormatException(String s, Throwable cause)
public MolFormatException(Throwable cause)
public int getLineNumberInRecord()
public void setLineNumberInRecord(int l)
l
- the line numberpublic int getLineNumberInFile()
public void setLineNumberInFile(int l)
l
- the line numberpublic Throwable getFinalCause()
this
if there is no cause