Friday, March 13, 2015

ArrayStoreException

java.lang.ArrayStoreException

ArrayStoreException is described in the javadoc comments as:

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 version: 1.11, 12/19/03 since: JDK1.0

Where is this exception thrown?

Following, is a list of exception messages cross-referenced to the source code responsible for throwing them. Click on the method link to view the code and see how the exception is thrown.

  • ArrayStoreException is not thrown within any available source code.

How is this exception thrown?

The following sub-sections identify where this exception is thrown, and how (or why) the code is throwing the exception.

Any source code quoted in this section is subject to the Java Research License unless stated otherwise.

  • ArrayStoreException is not thrown within the available source code.

No comments:

Post a Comment