Packages This Package Prev Next Index
§1.26 Class ArrayStoreException
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:
ArrayStoreException
public ArrayStoreException()
- Constructs a ArrayStoreException with no detail message.
ArrayStoreException
public ArrayStoreException(String s)
- Constructs a ArrayStoreException with the specified detail message.
- Parameters:
s
- the detail message
Packages This Package Prev Next Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc.
All rights reserved
Please send any comments or corrections to doug.kramer@sun.com