Class MissingRowException

All Implemented Interfaces:
Serializable

@PublicApi public class MissingRowException extends StructureRuntimeException

This exception is thrown by RowManager if the code requests a non-existent row. Since row IDs may not appear from anywhere else except from the same RowManager, it is an unexpected error condition.

Note: there are also negative row IDs that are used for temporary rows when building forest fragments — see ItemForestBuilder. Usage of these row ID must be confined to the builder they came from. Trying to retrieve rows with negative ID from RowManager would result in this exception.

See Also:
  • Constructor Details

    • MissingRowException

      public MissingRowException(long rowId)
    • MissingRowException

      public MissingRowException(long rowId, String message)
  • Method Details

    • getRowId

      public long getRowId()