See: Description
Class | Description |
---|---|
Object |
Class
Object is the root of the Java Card platform class
hierarchy. |
Throwable |
The Throwable class is the superclass of all errors and exceptions in the
Java Card platform's subset of the Java programming language.
|
Exception | Description |
---|---|
ArithmeticException |
A Java Card runtime environment-owned instance of
ArithmeticException is thrown when an exceptional arithmetic
condition has occurred. |
ArrayIndexOutOfBoundsException |
A Java Card runtime environment-owned instance of
ArrayIndexOutOfBoundsException is thrown to indicate that an
array has been accessed with an illegal index. |
ArrayStoreException |
A Java Card runtime environment-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 Java Card runtime environment-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 indicate conditions that a reasonable applet
might want to catch. |
IndexOutOfBoundsException |
A Java Card runtime environment-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 Java Card runtime environment-owned instance of
NegativeArraySizeException is thrown if an applet tries to
create an array with negative size. |
NullPointerException |
A Java Card runtime environment-owned instance of
NullPointerException is 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. |
SecurityException |
A Java Card runtime environment-owned instance of
SecurityException is thrown by the Java Card Virtual Machine
to indicate a security violation. |
Provides classes that are fundamental to the design of the Java Card technology subset of the Java programming language. The classes in this package are derived from java.lang in the standard Java programming language and represent the core functionality required by the Java Card Virtual Machine. This core functionality is represented by the Object class, which is the base class for all Java language classes and the Throwable class, which is the base class for the exception and runtime exception classes.
The exceptions and runtime exceptions that are included in this package are those that can be thrown by the Java Card Virtual Machine. They represent only a subset of the exceptions available in java.lang in the standard Java programming language.
Copyright © 1998, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms