When you write code in Java, Eclipse complains if your function doesn't have a "throws blah" declaration for each of the exceptions that it can throw, but for some reason it doesn't require you to add "throws ClassCastException" if you're casting some stuff...
Why doesn't it require that?
Why doesn't it require that?