Exceptions « Class Definition « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Class Definition » Exceptions 
1. Use exceptions with care (6/14/99)
Author:Java Q&Amp;A Experts
URL:http://www.javaworld.com/javaworld/javaqa/1999-06/04-exceptions.html?
Summary: Our Java Q&A experts explain why exceptions should be used only when necessary. (225 words)


2. When catching exceptions, don't cast your net too wide
Author:Dave Schweisguth
URL:http://www.javaworld.com/javaworld/javatips/jw-javatip134.html?
Summary: In contrast to some other languages, Java's simplicity and consistency allow compilers to detect many more errors. Java developers learn to rely on their compilers to catch assignments to incorrect types, calls of nonexistent methods and-this article's topic-incorrect exception handling. But situations still crop up where you really need to know what you're doing. If you understand exactly how Java allows you to throw and catch exceptions, you'll know when you need to be extra careful and what practices can keep you out of trouble. (1,700 words; February 14, 2003)


3. Try to catch me
Author:Tony Sintes
URL:http://www.javaworld.com/javaworld/javaqa/2001-07/04-qa-0727-try.html?
Summary: Does exception handling impair performance?


4. Breaking Java exception-handling rules is easy
Author:Vladimir Roubtsov
URL:http://www.javaworld.com/javaworld/javaqa/2003-02/02-qa-0228-evilthrow.html?
Summary: Did you know that any Java method can throw arbitrary checked exceptions without declaring them?


5. Exceptions: Don't get thrown for a loss
Author:Tony Sintes
URL:http://www.javaworld.com/javaworld/javaqa/2002-02/01-qa-0208-exceptional.html?
Summary: Catch the differences between checked and runtime exceptions


w__w__w__.j_av___a_2___s___.___c__o_m_ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.