@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.
RowManager
,
Serialized FormConstructor and Description |
---|
MissingRowException(long rowId) |
MissingRowException(long rowId,
String message) |
Modifier and Type | Method and Description |
---|---|
long |
getRowId() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingRowException(long rowId)
public MissingRowException(long rowId, String message)
Copyright © 2024 Tempo Software. All Rights Reserved.