October 9th, 2009 What is a ClassCastException? No Comments, Java Facts, by Daisy Williams. A ClassCastException is thrown when an attempt is made to cast an object, which is not of the appropriate run-time… Tags: class, Classcast exception, java, runtimeexception class, vector