Class MissingRowException
Object
Throwable
Exception
RuntimeException
StructureRuntimeException
MissingRowException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionMissingRowException(long rowId) MissingRowException(long rowId, String message) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MissingRowException
public MissingRowException(long rowId) -
MissingRowException
-
-
Method Details
-
getRowId
public long getRowId()
-