Java Card 2.1 Platform
Final Revision 1.0

Package java.lang

Provides classes that are fundamental to the design of the Java Card technology subset of the Java programming language.

See:
          Description

Class Summary
Object Class Object is the root of the Java Card class hierarchy.
Throwable The Throwable class is the superclass of all errors and exceptions in the Java Card subset of the Java language.
 

Exception Summary
ArithmeticException A JCRE owned instance of ArithmethicException is thrown when an exceptional arithmetic condition has occurred.
ArrayIndexOutOfBoundsException A JCRE owned instance of IndexOutOfBoundsException is thrown to indicate that an array has been accessed with an illegal index.
ArrayStoreException A JCRE owned instance of ArrayStoreException is thrown to indicate that an attempt has been made to store the wrong type of object into an array of objects.
ClassCastException A JCRE owned instance of ClassCastException is thrown to indicate that the code has attempted to cast an object to a subclass of which it is not an instance.
Exception The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable applet might want to catch.
IndexOutOfBoundsException A JCRE owned instance of IndexOutOfBoundsException is thrown to indicate that an index of some sort (such as to an array) is out of range.
NegativeArraySizeException A JCRE owned instance of NegativeArraySizeException is thrown if an applet tries to create an array with negative size.
NullPointerException A JCRE owned instance of NullPointerExceptionis thrown when an applet attempts to use null in a case where an object is required.
RuntimeException RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Card Virtual Machine. A method is not required to declare in its throws clause any subclasses of RuntimeException that might be thrown during the execution of the method but not caught.
SecurityException A JCRE owned instance of SecurityException is thrown by the Java Card Virtual Machine to indicate a security violation. This exception is thrown when an attempt is made to illegally access an object belonging to a another applet.
 

Package java.lang Description

Provides classes that are fundamental to the design of the Java Card technology subset of the Java programming language.


Submit a bug or feature

Java and Java Card are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc.
901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
All Rights Reserved.