InvalidCastException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, java.lang.ClassCastException

public class InvalidCastException extends java.lang.ClassCastException

The exception that is thrown for invalid casting or explicit conversion.