|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.ArrayStoreException
public class ArrayStoreException
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";
Constructor Summary | |
---|---|
ArrayStoreException()
Create an exception without a message. |
|
ArrayStoreException(String s)
Create an exception with a message. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
getCause, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ArrayStoreException()
public ArrayStoreException(String s)
s
- the message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |