I read some articles written on \"ClassCastException\", but I couldn\'t get a good idea on that. Is there a good article or what would be a brief explanation?
Exception is not a subclass of RuntimeException -> ClassCastException
final Object exception = new Exception(); final Exception data = (RuntimeException)exception ; System.out.println(data);