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
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:
-
Method Summary
Modifier and TypeMethodDescriptionintGets the requested, unavailable record index.intGets the maximum available record index.intGets the minimum available record index.booleanTests 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 Details
-
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:
trueis the end of storage is reached,falseotherwise
-