Name

RecordStoreException

Synopsis

This is the base class for all exceptions thrown by RecordStore operations. This class is also used as a generic exception that is thrown when none of the more specific exceptions are appropriate. The getMessage() method is used to obtain further information on the problem that caused the exception.

                  Returned By
public class RecordStoreException extends Exception {  
// Public Constructors
   public RecordStoreException();  
   public RecordStoreException( String message);  
}

Subclasses

InvalidRecordIDException, RecordStoreFullException, RecordStoreNotFoundException, RecordStoreNotOpenException

Thrown By

RecordEnumeration.{nextRecord(), previousRecord()}, RecordStore.{addRecord(), closeRecordStore(), deleteRecord(), deleteRecordStore(), getNextRecordID(), getRecord(), getRecordSize(), openRecordStore(), setRecord()}

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.