Class 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 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