Tony Morris
Java Q&A (FAQ, Trivia)
Originally posted by Tony Morris:
http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html
Originally posted by Jack Kay:
But I don't see why we should extend Exception, when extending Throwable works just as well.
- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
If you extend Throwable, then your type can't be caught generically without also catching junk like OutOfMemoryError at the same time.
AspectJ, an asepct-oriented extension to Java programming language.<br /><a href="http://www.aspectj.org" target="_blank" rel="nofollow">http://www.aspectj.org</a>
- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |