Packages This Package Prev Next Index
public class java.lang.ArrayStoreException extends java.lang.RuntimeException (I-§1.42) { // Constructors public ArrayStoreException(); §1.26.1 public ArrayStoreException(String s); §1.26.2 }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 Array-Store-Exception:
Object x[] = new String[3];
x[0] = new Integer(0);
public ArrayStoreException()
public ArrayStoreException(String s)
s
-
the detail message
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)