Posted By:
Simon_Ablett
Posted On:
Friday, May 17, 2002 05:46 AM
ClassCastExceptions are instances of RuntimeException that are thrown when an attempt is made to cast an instance of a class to another class and that cast is not allowed. For example, if you try to cast a String object to an Integer then it will result in a ClassCastException being thrown.
Make sure that the cast you are attempting is valid.
Regards.