Name

InvalidRecordIDException

Synopsis

This exception signals that a RecordStore operation has been attempted using an invalid record ID. A record ID is invalid if it does not correspond to a record in the RecordStore. Zero is always an invalid ID, as are all negative integers.

                  
public class InvalidRecordIDException extends RecordStoreException {  
// Public Constructors
   public InvalidRecordIDException();  
   public InvalidRecordIDException( String message);  
}

Thrown By

RecordEnumeration.{nextRecord(), nextRecordId(), previousRecord(), previousRecordId()}, RecordStore.{deleteRecord(), getRecord(), getRecordSize(), setRecord()}

The java.microedition.rms hierarchy

Figure 17-1. The java.microedition.rms hierarchy

Get J2ME in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.