|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
chemaxon.formats.MolFormatException
public class MolFormatException
Something's wrong with a molecule file format.
| Constructor Summary | |
|---|---|
MolFormatException()
Creates a molecule format exception. |
|
MolFormatException(java.lang.String s)
Creates a molecule format exception with the specified message. |
|
MolFormatException(java.lang.String s,
java.lang.Throwable cause)
Creates a molecule format exception with the specified message and cause. |
|
MolFormatException(java.lang.Throwable cause)
Creates a molecule format exception with the specified cause. |
|
| Method Summary | |
|---|---|
java.lang.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. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MolFormatException()
public MolFormatException(java.lang.String s)
s - the message
public MolFormatException(java.lang.String s,
java.lang.Throwable cause)
public MolFormatException(java.lang.Throwable cause)
| Method Detail |
|---|
public int getLineNumberInRecord()
public void setLineNumberInRecord(int l)
l - the line numberpublic int getLineNumberInFile()
public void setLineNumberInFile(int l)
l - the line numberpublic java.lang.Throwable getFinalCause()
this if there is no cause
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||