Package chemaxon.marvin.view
Class MDocStorage.RecordUnavailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- chemaxon.marvin.view.MDocStorage.RecordUnavailableException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MDocStorage
public class MDocStorage.RecordUnavailableException extends 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
-
-