FileDocCategorySizeDatePackage
ArrayStoreException.javaAPI DocphoneME MR2 API (J2ME)1895Wed May 02 17:59:54 BST 2007java.lang

ArrayStoreException

public class ArrayStoreException extends RuntimeException
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 String[3];
x[0] = new Integer(0);
version
1.7, 12/04/99 (CLDC 1.0, Spring 2000)
since
JDK1.0

Fields Summary
Constructors Summary
public ArrayStoreException()
Constructs an ArrayStoreException with no detail message.

    super();
    
public ArrayStoreException(String s)
Constructs an ArrayStoreException with the specified detail message.

param
s the detail message.

    super(s);
    
Methods Summary