java.lang
Class ArrayStoreException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.ArrayStoreException

public class ArrayStoreException
extends RuntimeException

An attempt has been made to store the wrong type of Object to an array.


Constructor Summary
ArrayStoreException()
          Constructs a ArrayStoreException with no detail message.
ArrayStoreException(String s)
          Constructs a ArrayStoreException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayStoreException

public ArrayStoreException()
Constructs a ArrayStoreException with no detail message. A detail message is a String that describes this particular exception.


ArrayStoreException

public ArrayStoreException(String s)
Constructs a ArrayStoreException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the String containing a detail message