java.lang
Class ArrayStoreException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.ArrayStoreException
All Implemented Interfaces:
AutomaticallyFillsInException

public class ArrayStoreException
extends RuntimeException
implements AutomaticallyFillsInException

This runtime exception is thrown when a program attempts to store into an array an element of a a type which the array can not hold..


Constructor Summary
ArrayStoreException()
          Constructs a new instance of this class with its walkback filled in.
ArrayStoreException(String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, nullStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println
 

Constructor Detail

ArrayStoreException

public ArrayStoreException()
Constructs a new instance of this class with its walkback filled in.


ArrayStoreException

public ArrayStoreException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.