java.lang

MIDP 2.1 compliant S60 devices support the java.lang classes completely as defined in the MIDP 2.1 JSR. The following sections list additional implementation information for this package.

A java.lang.OutOfMemoryError exception is thrown when there is not enough memory for allocating the string which is used for the content/label of a Ticker, Alert or a StringItem. This generally happens when the MIDlet specifies a very large string.