Package java.lang
Class ArrayStoreException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.ArrayStoreException
-
- All Implemented Interfaces:
Serializable
,Modified
public class ArrayStoreException extends RuntimeException
Thrown when a program attempts to store an element of an incompatible type in an array.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArrayStoreException()
Constructs a newArrayStoreException
that includes the current stack trace.ArrayStoreException(String detailMessage)
Constructs a newArrayStoreException
with the current stack trace and the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
ArrayStoreException
public ArrayStoreException()
Constructs a newArrayStoreException
that includes the current stack trace.
-
ArrayStoreException
public ArrayStoreException(String detailMessage)
Constructs a newArrayStoreException
with the current stack trace and the specified detail message.- Parameters:
detailMessage
- the detail message for this exception.
-
-