P
puzzlecracker
public static void sneakyThrow(Throwable t){
Thread.currentThread().stop(t);
}
----It appears that you can throw exception from any point in your
code.
what does it mean?
How and why it bypasses all the exceptions? bypassed where?
it is item 43 in Java Puzzlers.
I am not quite sure what it means.
Can someone elaborate....
Thread.currentThread().stop(t);
}
----It appears that you can throw exception from any point in your
code.
what does it mean?
How and why it bypasses all the exceptions? bypassed where?
it is item 43 in Java Puzzlers.
I am not quite sure what it means.
Can someone elaborate....