public class ArrayStoreException

  1. Object
  2. Throwable
  3. Exception
  4. RuntimeException
  5. ArrayStoreException
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: Since: JDK1.0, CLDC 1.0

Constructors

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

Inherited methods

Constructor details

ArrayStoreException

public ArrayStoreException()
Constructs an ArrayStoreException with no detail message.

ArrayStoreException

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