Beautiful exceptions

Its amazing when you really try, how many different weird and wonderful exceptions you can get out of Java. I was tinkering with some simple Java over MSN with Dan earlier and we managed between us to generate no less than 7 different types of exceptions all to do with file I/O, each seemingly more colourful and interesting than the ones that preceeded them. If only you could get marks for such wonders in the exam.

Dan coined a truely fantastic reaction to seeing Java exceptions you don’t understand:-

*sees strange and unknown java exception on screen* *GULP* “Arghhh! Run away!” :D

   

Possibly related articles

Comments are closed.