java.lang

Class ArrayStoreException

public class ArrayStoreException extends RuntimeException

Thrown when trying to store an object of the wrong runtime type in an array. For example:
 Object[] o = new Integer[1];
 o[0] = "oops";
 

UNKNOWN: updated to 1.4

Constructor Summary
ArrayStoreException()
Create an exception without a message.
ArrayStoreException(String s)
Create an exception with a message.

Constructor Detail

ArrayStoreException

public ArrayStoreException()
Create an exception without a message.

ArrayStoreException

public ArrayStoreException(String s)
Create an exception with a message.

Parameters: s the message