chemaxon.marvin.io
Class MRecordParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bychemaxon.marvin.io.MRecordParseException
All Implemented Interfaces:
java.io.Serializable

public class MRecordParseException
extends java.lang.Exception

Record reading exception.

Since:
Marvin 5.0, 04/17/2007
Version:
5.0, 04/28/2007
Author:
Peter Csizmadia
See Also:
Serialized Form

Constructor Summary
MRecordParseException(MRecordReader.Position l, java.lang.String s)
          Creates an exception with the specified message.
MRecordParseException(MRecordReader.Position l, java.lang.String s, java.lang.Throwable cause)
          Creates an exception with the specified message and cause.
MRecordParseException(MRecordReader.Position l, java.lang.Throwable cause)
          Creates an exception with the specified cause.
 
Method Summary
 MRecordReader.Position getPosition()
          Gets the position of the error.
 
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

MRecordParseException

public MRecordParseException(MRecordReader.Position l,
                             java.lang.String s)
Creates an exception with the specified message.

Parameters:
l - the position in the input file
s - the message

MRecordParseException

public MRecordParseException(MRecordReader.Position l,
                             java.lang.String s,
                             java.lang.Throwable cause)
Creates an exception with the specified message and cause.

Parameters:
l - the position in the input file
s - the message
cause - the cause

MRecordParseException

public MRecordParseException(MRecordReader.Position l,
                             java.lang.Throwable cause)
Creates an exception with the specified cause.

Parameters:
l - the position in the input file
cause - the cause
Method Detail

getPosition

public MRecordReader.Position getPosition()
Gets the position of the error.

Returns:
the position