Package chemaxon.marvin.io
Class MRecordParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- chemaxon.marvin.io.MRecordParseException
-
- All Implemented Interfaces:
Serializable
@PublicAPI public class MRecordParseException extends Exception
Record reading exception.- Since:
- Marvin 5.0, 04/17/2007
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MRecordParseException(MRecordReader.Position l, String s)
Creates an exception with the specified message.MRecordParseException(MRecordReader.Position l, String s, Throwable cause)
Creates an exception with the specified message and cause.MRecordParseException(MRecordReader.Position l, Throwable cause)
Creates an exception with the specified cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MRecordReader.Position
getPosition()
Gets the position of the error.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MRecordParseException
public MRecordParseException(MRecordReader.Position l, String s)
Creates an exception with the specified message.- Parameters:
l
- the position in the input files
- the message
-
MRecordParseException
public MRecordParseException(MRecordReader.Position l, String s, Throwable cause)
Creates an exception with the specified message and cause.- Parameters:
l
- the position in the input files
- the messagecause
- the cause
-
MRecordParseException
public MRecordParseException(MRecordReader.Position l, Throwable cause)
Creates an exception with the specified cause.- Parameters:
l
- the position in the input filecause
- the cause
-
-
Method Detail
-
getPosition
public MRecordReader.Position getPosition()
Gets the position of the error.- Returns:
- the position
-
-