Java Reference
In-Depth Information
ExceptionInInitializerError Not available in CLDC.
IllegalAccessError Not available in CLDC.
IncompatibleClassChangeError Not available in CLDC.
InstantiationError Not available in CLDC.
InternalError Not available in CLDC.
LinkageError Not available in CLDC.
NoClassDefFoundError Available in CLDC-NG.
NoSuchFieldError Not available in CLDC.
NoSuchMethodError Not available in CLDC.
OutOfMemoryError Fully available in CLDC, except the missing methods
of the Throwable class.
StackOverflowError Not available in CLDC.
ThreadDeath Not available in CLDC.
UnknownError Not available in CLDC.
UnsatisfiedLinkError Not available in CLDC.
UnsupportedClassVersionError Not available in CLDC.
VerifyError
Not available in CLDC.
VirtualMachineError
Fully available in CLDC, except the missing methods
of the Throwable class.
Boolean
Table B.72. Method s of the Class Boolean
Method
Availability in CLDC
Boolean(boolean value)
Available in CLDC.
Boolean(String s)
Not available in CLDC.
Workaround:
Boolean (s != null &&
s.toLowerCase().
e quals ("true"));
Boolean booleanValue()
Available in CLDC.
Boolean equals(Object obj)
Available in CLDC.
static boolean getBoolean(String
name)
Not available in CLDC.
Workaround:
(name != null &&
name.toLowerCase().
e quals ("true"));
int hashCode()
Available in CLDC.
String toString()
Available in CLDC.
static Boolean valueOf(String s)
Not available in CLDC.
Workaround:
new Boolean (s != null && s.
t oLowerCase().equals ("true"));
Byte
Search WWH ::




Custom Search