"

2013 FRC Java API

"

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. 
com.sun.squawk.rms   
javax.microedition.rms The Mobile Information Device Profile provides a mechanism for MIDlets to persistently store data and later retrieve it. 
 

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 IRecordStoreManager ImpGlobal.getRecordStoreManager()
           
static long ImpGlobal.getRecordStoreManagerErasedSequenceCurrentValue()
           
 

Uses of RecordStoreException in com.sun.squawk.rms
 

Methods in com.sun.squawk.rms that throw RecordStoreException
 int IRecordStoreEntry.addRecord(byte[] data, int offset, int numBytes)
           
 int RecordStoreEntry.addRecord(byte[] bytes, int offset, int length)
           
 void IRecordStoreEntry.deleteRecord(int recordId)
           
 void RecordStoreEntry.deleteRecord(int recordId)
           
 void IRecordStoreEntry.deleteRecords()
           
 void RecordStoreEntry.deleteRecords()
           
 boolean IRecordStoreManager.deleteRecordStore(String name)
           
 boolean RecordStoreManager.deleteRecordStore(String name)
           
protected  IRecordEntry RecordStoreEntry.findRecord(int recordId)
           
protected  Address RecordStoreEntry.findRecordAddress(int recordId)
           
 IRmsEntry IRecordStoreManager.getEntryAt(Address address)
           
 IRmsEntry RecordStoreManager.getEntryAt(Address address)
           
 IRmsEntry RecordStoreManager.getEntryIn(IMemoryHeapBlock block)
           
 byte[] IRecordStoreEntry.getRecord(int recordId)
           
 byte[] RecordStoreEntry.getRecord(int recordId)
           
 int IRecordStoreEntry.getRecord(int recordId, byte[] buffer, int offset)
           
 int RecordStoreEntry.getRecord(int recordId, byte[] buffer, int offset)
           
 int IRecordStoreEntry.getRecordSize(int recordId)
           
 int RecordStoreEntry.getRecordSize(int recordId)
           
 int IRecordStoreEntry.getRecordsSize()
           
 int RecordStoreEntry.getRecordsSize()
           
 IRecordStoreEntry IRecordStoreManager.getRecordStore(String name, boolean createIfNecessary)
           
 IRecordStoreEntry RecordStoreManager.getRecordStore(String name, boolean createIfNecessary)
           
 int IRecordStoreManager.getSizeAvailable()
           
 int RecordStoreManager.getSizeAvailable()
           
protected  void RecordStoreManager.init()
           
 void IRecordStoreManager.invalidateEntryAt(Address address)
           
 void RecordStoreManager.invalidateEntryAt(Address address)
           
 Address IRecordStoreManager.logEntry(IRmsEntry entry)
           
 Address RecordStoreManager.logEntry(IRmsEntry entry)
           
 void RecordStoreManager.reScanBlock(Address oldAddress, Address newAddress, IMemoryHeapBlock block)
           
 void IRecordStoreEntry.reVisitRecordEntry(IRecordEntry record)
           
 void RecordStoreEntry.reVisitRecordEntry(IRecordEntry record)
           
 void RecordStoreManager.scanBlock(IMemoryHeapBlock block)
           
 void IRecordStoreEntry.setRecord(int recordId, byte[] data, int offset, int numBytes)
           
 void RecordStoreEntry.setRecord(int recordId, byte[] bytes, int offset, int length)
           
 void ApplicationDescriptorEntry.visit(IRmsEntryVisitor visitor)
           
 void IRmsEntry.visit(IRmsEntryVisitor visitor)
           
 void RecordEntry.visit(IRmsEntryVisitor visitor)
           
 void RecordStoreEntry.visit(IRmsEntryVisitor visitor)
           
 void RecordStoreSequenceEntry.visit(IRmsEntryVisitor visitor)
           
 void UnknownEntry.visit(IRmsEntryVisitor visitor)
           
 void IRmsEntryVisitor.visitApplicationDescriptor(IApplicationDescriptorEntry entry)
           
 void IRmsEntryVisitor.visitRecord(IRecordEntry entry)
           
 void IRecordStoreEntry.visitRecordEntry(IRecordEntry record)
           
 void RecordStoreEntry.visitRecordEntry(IRecordEntry record)
           
 void IRmsEntryVisitor.visitRecordStore(IRecordStoreEntry entry)
           
 void IRmsEntryVisitor.visitRecordStoreSequence(IRecordStoreSequenceEntry entry)
           
 void IRmsEntryVisitor.visitUnknown(IUnknownEntry entry)
           
 

Constructors in com.sun.squawk.rms that throw RecordStoreException
RecordStoreManager(INorFlashMemoryHeap memoryHeap)
           
RecordStoreManager(INorFlashMemoryHeap memoryHeap, INorFlashMemoryHeapScanner memoryHeapScanner, IRmsEntryVisitor scanVisitor, IRmsEntryVisitor reScanVisitor)
           
 

Uses of RecordStoreException in javax.microedition.rms
 

Subclasses of RecordStoreException in javax.microedition.rms
 class InvalidRecordIDException
          Thrown to indicate an operation could not be completed because the record ID was invalid.
 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
          Thrown to indicate that an operation was attempted on a closed record store.
 

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()
          Returns a copy of the next record in this enumeration, where next is defined by the comparator and/or filter supplied in the constructor of this enumerator.
static RecordStore RecordStore.openRecordStore(String recordStoreName, boolean createIfNecessary)
          Open (and possibly create) a record store associated with the given MIDlet suite.
 byte[] RecordEnumeration.previousRecord()
          Returns a copy of the previous record in this enumeration, where previous is defined by the comparator and/or filter supplied in the constructor of this enumerator.
 void RecordStore.setRecord(int recordId, byte[] newData, int offset, int numBytes)
          Sets the data in the given record to that passed in.
 


"

2013 FRC Java API

"

"
For updated information see the Java FRC site
"