SunSPOT API V3.0


Uses of Class
javax.microedition.rms.RecordStoreException

Packages that use RecordStoreException
com.sun.squawk.flash   
com.sun.squawk.imp Provides classes for low level interactions with the Squawk implementation of IMP. 
javax.microedition.rms Provides classes for a basic file system, where files have record level API. 
 

Uses of RecordStoreException in com.sun.squawk.flash
 

Methods in com.sun.squawk.flash that throw RecordStoreException
 Address INorFlashMemoryHeap.allocateAndWriteBlock(byte[] bytes, int offset, int length, INorFlashMemoryHeapScanner scanner)
           
 Address NorFlashMemoryHeap.allocateAndWriteBlock(byte[] bytes, int offset, int length, INorFlashMemoryHeapScanner scanner)
           
 void INorFlashSectorState.erase(long sequence)
           
 void NorFlashSectorState.erase(long sequence)
           
 void INorFlashSectorState.forceErase()
           
 void NorFlashSectorState.forceErase()
           
 void INorFlashMemoryHeap.freeBlockAt(Address address)
           
 void NorFlashMemoryHeap.freeBlockAt(Address address)
           
 IMemoryHeapBlock INorFlashMemoryHeap.getBlockAt(Address address)
           
 IMemoryHeapBlock NorFlashMemoryHeap.getBlockAt(Address address)
           
protected  boolean NorFlashMemoryHeap.getBlockAt(IMemoryHeapBlock block, INorFlashSectorState sectorState, int offset)
           
 int INorFlashMemoryHeap.getSizeAvailable()
           
 int NorFlashMemoryHeap.getSizeAvailable()
           
protected  void NorFlashMemoryHeap.makeRoomToWrite(int entrySize, INorFlashMemoryHeapScanner scanner)
           
 void INorFlashSectorState.readBytes(int offset, byte[] buffer, int bufferStart, int bufferLength)
           
 void INorFlashSectorState.removeErasedHeader()
           
 void NorFlashSectorState.removeErasedHeader()
           
 void INorFlashMemoryHeapScanner.reScanBlock(Address oldAddress, Address newAddress, IMemoryHeapBlock block)
           
 void INorFlashMemoryHeapScanner.scanBlock(IMemoryHeapBlock block)
           
 void INorFlashMemoryHeap.scanBlocks(INorFlashMemoryHeapScanner scanner)
           
 void NorFlashMemoryHeap.scanBlocks(INorFlashMemoryHeapScanner scanner)
          It is guaranteed that the order that blocks were allocated in, is the order in which they will be iterated.
protected  Address NorFlashMemoryHeap.writeBlock(IMemoryHeapBlock block, INorFlashMemoryHeapScanner scanner, Address oldAddress)
           
 void INorFlashSectorState.writeBytes(byte[] buffer, int bufferStart, int bufferLength)
           
 void INorFlashSectorState.writeBytes(int offset, byte[] buffer, int bufferStart, int bufferLength)
           
 

Uses of RecordStoreException in com.sun.squawk.imp
 

Methods in com.sun.squawk.imp that throw RecordStoreException
static long ImpGlobal.getRecordStoreManagerErasedSequenceCurrentValue()
           
 

Uses of RecordStoreException in javax.microedition.rms
 

Subclasses of RecordStoreException in javax.microedition.rms
 class InvalidRecordIDException
           
 class RecordStoreFullException
          Thrown to indicate an operation could not be completed because the record store system storage is full.
 class RecordStoreNotFoundException
          Thrown to indicate an operation could not be completed because the record store could not be found.
 class RecordStoreNotOpenException
           
 

Methods in javax.microedition.rms that throw RecordStoreException
 int RecordStore.addRecord(byte[] data, int offset, int numBytes)
          Adds a new record to the record store.
 void RecordStore.closeRecordStore()
          This method is called when the MIDlet requests to have the record store closed.
 void RecordStore.deleteRecord(int recordId)
          The record is deleted from the record store.
static void RecordStore.deleteRecordStore(String recordStoreName)
          Deletes the named record store.
 int RecordStore.getNextRecordID()
          Returns the recordId of the next record to be added to the record store.
 byte[] RecordStore.getRecord(int recordId)
          Returns a copy of the data stored in the given record.
 int RecordStore.getRecord(int recordId, byte[] buffer, int offset)
          Returns the data stored in the given record.
 int RecordStore.getRecordSize(int recordId)
          Returns the size (in bytes) of the MIDlet data available in the given record.
 byte[] RecordEnumeration.nextRecord()
           
static RecordStore RecordStore.openRecordStore(String recordStoreName, boolean createIfNecessary)
          Open (and possibly create) a record store associated with the given MIDlet suite.
 byte[] RecordEnumeration.previousRecord()
           
 void RecordStore.setRecord(int recordId, byte[] newData, int offset, int numBytes)
          Sets the data in the given record to that passed in.
 


SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.