## Uses of Class
uicc.toolkit.ToolkitException

- Packages that use ToolkitException
  Package | Description
  --- | ---
  uicc.system | This package provides the means to the applets for accessing system wide services of the UICC platform.
  uicc.toolkit | This package provides the means for the toolkit applets to register to the events of the common application toolkit (CAT) framework, to handle TLV information and to send proactive commands according to the ETSI TS 102 223 specification.

- - ### Uses of ToolkitException in uicc.system

    Methods in uicc.system that throw ToolkitException
    Modifier and Type | Method and Description
    --- | ---
    `static ViewHandler` | HandlerBuilder.`buildTLVHandler(byte type, short capacity, byte[] buffer, short offset, short length)` Allocates a TLVHandler with an internal buffer of length capacity.

  - ### Uses of ToolkitException in uicc.toolkit

    Methods in uicc.toolkit that throw ToolkitException
    Modifier and Type | Method and Description
    --- | ---
    `byte` | ToolkitRegistry.`allocateServiceIdentifier()` Allocate a Service identifier that the applet can manage.
    `byte` | ToolkitRegistry.`allocateTimer()` Asks the CAT Runtime Environment to allocate a Timer that the applet can manage.
    `void` | EditHandler.`appendArray(byte[] buffer, short offset, short length)` Appends a buffer into the EditHandler buffer.
    `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[] value, short valueOffset, short valueLength)` Appends a TLV element to the current TLV list (byte array format).
    `void` | EditHandler.`appendTLV(byte tag, byte[] value1, short value1Offset, short value1Length, byte[] value2, short value2Offset, short value2Length)` Appends a TLV element to the current TLV list (2 byte arrays format).
    `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).
    `void` | EditHandler.`appendTLV(byte tag, byte value1, short value2)` Appends a TLV element to the current TLV list (3-byte element(1-byte,1-short)) This method is useful to add three byte elements as Command details or Display parameters A successful append does not modify the TLV selected.
    `void` | EditHandler.`appendTLV(byte tag, short value)` Appends a TLV element to the current TLV list (2-byte element).
    `void` | EditHandler.`appendTLV(byte tag, short value1, short value2)` Appends a TLV element to the current TLV list (4-byte element(2-short)) This method is useful to add three byte elements as Text Attribute, ESN, or C-APDU.
    `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.
    `static boolean` | TerminalProfile.`check(byte index)` Checks a facility in the handset profile.
    `static boolean` | TerminalProfile.`check(byte[] mask, short offset, short length)` Checks a set of facilities in the handset profile.
    `static boolean` | TerminalProfile.`check(short index)` Checks a facility in the handset profile.
    `void` | EditHandler.`clear()` Clears the TLV list of an EditHandler and resets the current TLV selected.
    `void` | ToolkitRegistry.`clearEvent(short event)` Clears an event in the Toolkit Registry entry of the applet.
    `byte` | ViewHandler.`compareValue(short valueOffset, byte[] compareBuffer, short compareOffset, short compareLength)` Compares the last found TLV element with a buffer.
    `short` | ViewHandler.`copy(byte[] dstBuffer, short dstOffset, short dstLength)` Copies the Comprehension TLV list contained in the handler to the destination byte array.
    `static short` | TerminalProfile.`copy(short startOffset, byte[] dstBuffer, short dstOffset, short dstLength)` Copies a part of the handset profile in a buffer.
    `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.
    `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.
    `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.
    `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.
    `void` | ToolkitRegistry.`deregisterFileEvent(short fileEvent, byte[] baFileList, short sOffset1, short sLength1, byte[] baADFAid, short sOffset2, byte bLength2)` Deregister a ToolkitRegistry object from the `EVENT_EXTERNAL_FILE_UPDATE` for a file list.
    `void` | ToolkitRegistry.`deregisterFileEvent(short fileEvent, FileView aFileView)` Deregister a ToolkitRegistry object from the `EVENT_EXTERNAL_FILE_UPDATE` for a file.
    `void` | ToolkitRegistry.`disableMenuEntry(byte id)` Disables a menu entry.
    `void` | ToolkitRegistry.`enableMenuEntry(byte id)` Enables a menu entry.
    `byte` | ViewHandler.`findAndCompareValue(byte tag, byte[] compareBuffer, short compareOffset)` Looks for the first occurrence of a TLV element from beginning of a TLV list and compare its value with a buffer.
    `byte` | ViewHandler.`findAndCompareValue(byte tag, byte occurrence, short valueOffset, byte[] compareBuffer, short compareOffset, short compareLength)` Looks for the indicated occurrence of a TLV element from the beginning of a TLV list and compare its value with a buffer.
    `short` | ViewHandler.`findAndCopyValue(byte tag, byte[] dstBuffer, short dstOffset)` Looks for the first occurrence 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 occurrence, short valueOffset, byte[] dstBuffer, short dstOffset, short dstLength)` Looks for the indicated occurrence of a TLV element from the beginning of a TLV list and copy its value into a destination buffer.
    `byte` | ViewHandler.`findTLV(byte tag, byte occurrence)` Looks for the indicated occurrence of a TLV element from the beginning of the TLV list (handler buffer).
    `short` | ProactiveResponseHandler.`getAdditionalInformationLength()` Returns the length of the additional information field from the first Result TLV element of the current response data field.
    `short` | ViewHandler.`getCapacity()` Returns the maximum size of the Comprehension TLV list managed by the handler.
    `byte` | EnvelopeHandler.`getChannelIdentifier()` Returns the channel identifier value from the first Channel status TLV element in the current Envelope data field.
    `byte` | ProactiveResponseHandler.`getChannelIdentifier()` Returns the `channelIdentifier` value from the first Channel status TLV element in the current response data field.
    `short` | EnvelopeHandler.`getChannelStatus(byte channelIdentifier)` Returns the value of the first Channel Status TLV element whose channel identifier is equal to the `channelIdentifier` parameter.
    `short` | ProactiveResponseHandler.`getChannelStatus(byte channelIdentifier)` Returns the value of the first Channel Status TLV element whose channel identifier is equal to the `channelIdentifier` parameter.
    `static ToolkitRegistry` | ToolkitRegistrySystem.`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.
    `byte` | ProactiveResponseHandler.`getGeneralResult()` Returns the general result byte of the Proactive command.
    `byte` | EnvelopeHandler.`getItemIdentifier()` Returns the item identifier byte value from the first Item Identifier TLV element in the current Envelope 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` | ViewHandler.`getLength()` Returns the length of the TLV list.
    `byte` | ProactiveResponseHandler.`getTextStringCodingScheme()` Returns the data coding scheme byte from the first Text String 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.
    `static EnvelopeHandler` | EnvelopeHandlerSystem.`getTheHandler()` Returns the single system instance of the `EnvelopeHandler` class.
    `static EnvelopeResponseHandler` | EnvelopeResponseHandlerSystem.`getTheHandler()` Returns the single system instance of the `EnvelopeResponseHandler` class.
    `static ProactiveHandler` | ProactiveHandlerSystem.`getTheHandler()` Returns the single system instance of the `ProactiveHandler` class.
    `static ProactiveResponseHandler` | ProactiveResponseHandlerSystem.`getTheHandler()` Returns the single system instance of the `ProactiveResponseHandler` class.
    `static short` | TerminalProfile.`getValue(short indexMSB, short indexLSB)` Returns the binary value of a parameter, delimited by two indexes, from the handset profile.
    `byte` | ViewHandler.`getValueByte(short valueOffset)` Gets a byte from the last TLV element which has been found in the handler.
    `short` | ViewHandler.`getValueLength()` Gets the binary length of the value field for the last TLV element which has been found in the handler.
    `short` | ViewHandler.`getValueShort(short valueOffset)` Gets a short from the last TLV element which has been found in the handler.
    `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.
    `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` | EnvelopeResponseHandler.`post(boolean value)` Prepares the Envelope response
    `void` | EnvelopeResponseHandler.`postAsBERTLV(boolean value, byte tag)` Prepare the Envelope response in a BER TLV structure.
    `void` | ToolkitInterface.`processToolkit(short event)` This method is the standard toolkit event handling method of a Toolkit Applet and is called by the "Triggering Entity" to process the current Toolkit event.
    `void` | ToolkitRegistry.`registerFileEvent(short fileEvent, byte[] baFileList, short sOffset1, short sLength1, byte[] baADFAid, short sOffset2, byte bLength2)` Register a ToolkitRegistry object to the `EVENT_EXTERNAL_FILE_UPDATE` for a file list.
    `void` | ToolkitRegistry.`registerFileEvent(short fileEvent, FileView aFileView)` Register a ToolkitRegistry object to the `EVENT_EXTERNAL_FILE_UPDATE` for a file.
    `void` | ToolkitRegistry.`releaseServiceIdentifier(byte serviceIdentifier)` Release a Service Identifier that has been allocated to the calling applet.
    `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.
    `byte` | ProactiveHandler.`send()` Sends the current Proactive command.
    `void` | ToolkitRegistry.`setEvent(short event)` Sets an event in the Toolkit Registry entry of the applet.
    `void` | ToolkitRegistry.`setEventList(short[] eventList, short offset, short length)` Sets an event list in the Toolkit Registry entry of the applet.
    `void` | ToolkitRegistry.`setMenuEntryTextAttribute(byte id, byte[] textAttribute, short offset, short length)` Sets the text attribute of a menu entry.
    `static void` | ToolkitException.`throwIt(short reason)` Throws the JCRE instance of the `ToolkitException` class with the specified reason.