Uses of Class
sim.toolkit.ToolkitException

Packages that use ToolkitException
sim.toolkit This package provides the means for the toolkit applets to register to the events of the toolkit framework, to handle TLV information and to send proactive command according to the GSM 11.14 specification. 
 

Uses of ToolkitException in sim.toolkit
 

Methods in sim.toolkit that throw ToolkitException
static void ToolkitException.throwIt(short reason)
          Throws the JCRE instance of the ToolkitException class with the specified reason.
static boolean MEProfile.check(byte index)
          Checks a facility in the handset profile.
static boolean MEProfile.check(byte[] mask, short offset, short length)
          Checks a set of facilities in the handset profile.
static boolean MEProfile.check(short index)
          Checks a facility in the handset profile.
static short MEProfile.getValue(short indexMSB, short indexLSB)
          Returns the binary value of a parameter, delimited by two indexes, from the handset profile.
static short MEProfile.copy(short startOffset, byte[] dstBuffer, short dstOffset, short dstLength)
          Copies a part of the handset profile in a buffer.
 void ToolkitInterface.processToolkit(byte event)
          This method is the standard toolkit event handling method of a Toolkit applet and is called by the Toolkit Handler to process the current Toolkit event.
 short ViewHandler.getLength()
          Returns the length of the TLV list.
 short ViewHandler.copy(byte[] dstBuffer, short dstOffset, short dstLength)
          Copies the simple TLV list contained in the handler to the destination byte array.
 byte ViewHandler.findTLV(byte tag, byte occurrence)
          Looks for the indicated occurence of a TLV element from the beginning of the TLV list (handler buffer).
 short ViewHandler.getValueLength()
          Gets the binary length of the value field for the last TLV element which has been found in the handler.
 byte ViewHandler.getValueByte(short valueOffset)
          Gets a byte from the last TLV element which has been found in the handler.
 short ViewHandler.copyValue(short valueOffset, byte[] dstBuffer, short dstOffset, short dstLength)
          Copies a part of the last TLV element which has been found, into a destination buffer.
 byte ViewHandler.compareValue(short valueOffset, byte[] compareBuffer, short compareOffset, short compareLength)
          Compares the last found TLV element with a buffer.
 short ViewHandler.findAndCopyValue(byte tag, byte[] dstBuffer, short dstOffset)
          Looks for the first occurence of a TLV element from the beginning of a TLV list and copy its value into a destination buffer.
 short ViewHandler.findAndCopyValue(byte tag, byte occurence, short valueOffset, byte[] dstBuffer, short dstOffset, short dstLength)
          Looks for the indicated occurence of a TLV element from the beginning of a TLV list and copy its value into a destination buffer.
 byte ViewHandler.findAndCompareValue(byte tag, byte[] compareBuffer, short compareOffset)
          Looks for the first occurence of a TLV element from beginning of a TLV list and compare its value with a buffer.
 byte ViewHandler.findAndCompareValue(byte tag, byte occurence, short valueOffset, byte[] compareBuffer, short compareOffset, short compareLength)
          Looks for the indicated occurence of a TLV element from the beginning of a TLV list and compare its value with a buffer.
static EnvelopeHandler EnvelopeHandler.getTheHandler()
          Returns the single system instance of the EnvelopeHandler class.
 short EnvelopeHandler.getTPUDLOffset()
          Looks for the TP-UDL field in the first TPDU TLV element in the Envelope data field.
 short EnvelopeHandler.getSecuredDataOffset()
          Looks for the Secured Data from the Command Packet in the first SMS TPDU or Cell Broadcast Page Simple TLV contained in the Envelope handler.
 short EnvelopeHandler.getSecuredDataLength()
          Looks for the length of the Secured Data from the Command Packet in the first SMS TPDU or Cell Broadcast Page Simple TLV contained in the Envelope handler.
 byte EnvelopeHandler.getItemIdentifier()
          Returns the item identifier byte value from the first Item Identifier TLV element in the current Envelope data field.
 byte EnvelopeHandler.getChannelIdentifier()
          Returns the channel indentifier value from the first Channel status TLV element
in the current Envelope data field.
 void EditHandler.clear()
          Clears the TLV list of an EditHandler and resets the current TLV selected.
 void EditHandler.appendArray(byte[] buffer, short offset, short length)
          Appends a buffer into the EditHandler buffer.
 void EditHandler.appendTLV(byte tag, byte[] value, short valueOffset, short valueLength)
          Appends a TLV element to the current TLV list (byte array format).
 void EditHandler.appendTLV(byte tag, byte value)
          Appends a TLV element to the current TLV list (1-byte element).
 void EditHandler.appendTLV(byte tag, byte value1, byte value2)
          Appends a TLV element to the current TLV list (2-byte element) This method is useful to add double byte elements as Device Identities, Duration or Response Length.
 void EditHandler.appendTLV(byte tag, byte value1, byte[] value2, short value2Offset, short value2Length)
          Appends a TLV element to the current TLV list (1 byte and a byte array format).
static ProactiveHandler ProactiveHandler.getTheHandler()
          Returns the single system instance of the ProactiveHandler class.
 byte ProactiveHandler.send()
          Sends the current Proactive command.
 void ProactiveHandler.initDisplayText(byte qualifier, byte dcs, byte[] buffer, short offset, short length)
          Builds a Display Text Proactive command without sending the command.
 void ProactiveHandler.initGetInkey(byte qualifier, byte dcs, byte[] buffer, short offset, short length)
          Builds a Get Inkey Proactive command without sending the command.
 void ProactiveHandler.initGetInput(byte qualifier, byte dcs, byte[] buffer, short offset, short length, short minRespLength, short maxRespLength)
          Initialize the building of a Get Input Proactive command.
static EnvelopeResponseHandler EnvelopeResponseHandler.getTheHandler()
          Returns the single system instance of the EnvelopeResponseHandler class.
 void EnvelopeResponseHandler.post(byte statusType)
          Pepares the Envelope response.
 void EnvelopeResponseHandler.postAsBERTLV(byte statusType, byte tag)
          Prepare the Envelope response in a BER TLV structure.
static ToolkitRegistry ToolkitRegistry.getEntry()
          This method is used by the Toolkit applet to get a reference to its Toolkit Registry entry, so that it can handle its registration state to the toolkit events.
 void ToolkitRegistry.setEvent(byte event)
          Sets an event in the Toolkit Registry entry of the applet.
 void ToolkitRegistry.setEventList(byte[] eventList, short offset, short length)
          Sets an event list in the Toolkit Registry entry of the applet.
 void ToolkitRegistry.clearEvent(byte event)
          Clears an event in the Toolkit Registry entry of the applet.
 void ToolkitRegistry.disableMenuEntry(byte id)
          Disables a menu entry.
 void ToolkitRegistry.enableMenuEntry(byte id)
          Enables a menu entry.
 byte ToolkitRegistry.initMenuEntry(byte[] menuEntry, short offset, short length, byte nextAction, boolean helpSupported, byte iconQualifier, short iconIdentifier)
          Initialises the next menu entry allocated at loading.
 void ToolkitRegistry.changeMenuEntry(byte id, byte[] menuEntry, short offset, short length, byte nextAction, boolean helpSupported, byte iconQualifier, short iconIdentifier)
          Changes the value of a menu entry.
 byte ToolkitRegistry.allocateTimer()
          Asks the Toolkit framework to allocate a Timer that the applet can manage.
 void ToolkitRegistry.releaseTimer(byte timerIdentifier)
          Release a Timer that has been allocated to the calling applet.
 void ToolkitRegistry.requestPollInterval(short duration)
          Requests a duration for the EVENT_STATUS_COMMAND event of the registering toolkit applet.
static ProactiveResponseHandler ProactiveResponseHandler.getTheHandler()
          Returns the single system instance of the ProactiveResponseHandler class.
 byte ProactiveResponseHandler.getGeneralResult()
          Returns the general result byte of the Proactive command.
 short ProactiveResponseHandler.getAdditionalInformationLength()
          Returns the length of the additional information field from the first Result TLV element of the current response data field.
 short ProactiveResponseHandler.copyAdditionalInformation(byte[] dstBuffer, short dstOffset, short dstLength)
          Copies a part of the additional information field from the first Result TLV element of the current response data field.
 byte ProactiveResponseHandler.getItemIdentifier()
          Returns the item identifier byte value from the first Item Identifier TLV element of the current response data field.
 short ProactiveResponseHandler.getTextStringLength()
          Returns the text string length value from the first Text String TLV element of the current response data field.
 byte ProactiveResponseHandler.getTextStringCodingScheme()
          Returns the data coding scheme byte from the first Text String TLV element of the current response data field.
 short ProactiveResponseHandler.copyTextString(byte[] dstBuffer, short dstOffset)
          Copies the text string value from the first Text String TLV element of the current response data field.
 byte ProactiveResponseHandler.getChannelIdentifier()
          Returns the channel indentifier value from the first Channel status TLV element
in the current Envelope data field.
 short ProactiveResponseHandler.copyChannelData(byte[] dstBuffer, short dstOffset, short dstLength)
          Copies parts of the Channel data string field from the first Channel data TLV element
of the current response data field.