java.lang
public class: ArrayStoreException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.ArrayStoreException
All Implemented Interfaces:
Serializable
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);
- author:
unascribed -
- since:
JDK1.0 -
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |