Class ArrayStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.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
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an ArrayStoreException with no detail message.Constructs an ArrayStoreException with the specified detail message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ArrayStoreException
public ArrayStoreException()Constructs an ArrayStoreException with no detail message. -
ArrayStoreException
Constructs an ArrayStoreException with the specified detail message. s - the detail message.
-