chemaxon.marvin.view
Class MDocStorage.RecordUnavailableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by chemaxon.marvin.view.MDocStorage.RecordUnavailableException
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
MDocStorage

public class MDocStorage.RecordUnavailableException
extends java.lang.Exception

Requested record is not available in the source. If the input source is a file, it means that end of file is reached before accessing the requested record index.

See Also:
Serialized Form

Method Summary
 int getRecordIndex()
          Gets the requested, unavailable record index.
 int getRecordIndexMax()
          Gets the maximum available record index.
 int getRecordIndexMin()
          Gets the minimum available record index.
 boolean isEndReached()
          Tests whether the end of storage is reached.
 
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
 

Method Detail

getRecordIndex

public int getRecordIndex()
Gets the requested, unavailable record index.

Returns:
the requested index

getRecordIndexMin

public int getRecordIndexMin()
Gets the minimum available record index.

Returns:
the requested index

getRecordIndexMax

public int getRecordIndexMax()
Gets the maximum available record index.

Returns:
the requested index

isEndReached

public boolean isEndReached()
Tests whether the end of storage is reached.

Returns:
true is the end of storage is reached, false otherwise