|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.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.
For example, the following code generates an ArrayStoreException
:
Object x[] = new AID[3]; x[0] = new OwnerPIN( (byte) 3, (byte) 8);
JCRE owned instances of exception classes are temporary JCRE Entry Point Objects and can be accessed from any applet context. References to these temporary objects cannot be stored in class variables or instance variables or array components. See Java Card Runtime Environment (JCRE) Specification, section 6.2.1 for details.
This Java Card class's functionality is a strict subset of the definition in the Java Platform Core API Specification.
Constructor Summary | |
ArrayStoreException()
Constructs an ArrayStoreException . |
Methods inherited from class java.lang.Object |
equals |
Constructor Detail |
public ArrayStoreException()
ArrayStoreException
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |