• Post Reply Bookmark Topic Watch Topic
  • New Topic

Book for Exceptions???  RSS feed

 
Vedhas Pitkar
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didnt know that anyone could write a whole book based only on exceptions.Maybe the author would like to elaborate furthur on what are the book's contents other than exceptions?
 
Steve Stelting
author
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vedhas,

You're right that "Robust Java" covers more territory than exceptions. If I had to describe the book, I'd say that its main focus is how to use Java to write more robust application code.

Part 1 describes the mechanics of handling exceptions, which basically focuses on the standard topics of exception handling. Part 2 talks about designing code to effectively use exceptions, and describes the error model in some common Java APIs (J2EE, JDBC and RMI to name a few). Part 3 branches out into architecture, patterns, testing and debugging... what I perceive as the broader work of using exceptions in the full lifecycle support of software.
 
Vedhas Pitkar
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would definitely seem an interesting read.Let's hope I win!!
 
Steve Stelting
author
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the compliment! Incidentally, Amazon has a number of copies at substantial discount in their "used and new" section... apparently, some of their vendors are *very* well connected.

Speaking of Amazon, they have a copy of the "Robust Java" preface on their site... for those ranchers who are interested, you can find it at
Amazon - Robust Java
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vedhas Pitkar:
I didnt know that anyone could write a whole book based only on exceptions.Maybe the author would like to elaborate furthur on what are the book's contents other than exceptions?


I consider the exception handling one of the most important aspects of a java programmer. It is pretty easy to have an image of a programmer level just by looking how is handling exceptions. While I can agree there are no enough fundamental rules (or silver bullets) about exception handling, this subject is definitely deserving a book.
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ali Pope:


I consider the exception handling one of the most important aspects of a java programmer. It is pretty easy to have an image of a programmer level just by looking how is handling exceptions. While I can agree there are no enough fundamental rules (or silver bullets) about exception handling, this subject is definitely deserving a book.


Absolutely.
In fact, there are many bad practice among some Java programmers(including me). To be a professional, we should do exceptions handling professionally.

I wonder is this book also covering bad practice in Design and Architecture?
[ March 09, 2005: Message edited by: Doug Wang ]
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Doug Wang:
I wonder is this book also covering bad practice in Design and Architecture?


Doug,
I found in the TOC that Chapter 12 is about Patterns and there are many patterns discussed in that chapter... But if you are really interested in the Patterns, there is another book written by Mr.Stelting, which is
Applied Java Patterns...

Hope this helps...
 
Vedhas Pitkar
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ali Pope:


I consider the exception handling one of the most important aspects of a java programmer. It is pretty easy to have an image of a programmer level just by looking how is handling exceptions. While I can agree there are no enough fundamental rules (or silver bullets) about exception handling, this subject is definitely deserving a book.


Ali, I am saying that you should totally ignore exceptions.But I guess the exceptions part in Effective Java By Joshua Bloch Effective Java is more than enough for what you would need to know about exceptions.An entire book on the subject seems,as I said earlier, interesting
 
Alexandru Popescu
Ranch Hand
Posts: 995
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vedhas, I am not trying to argue with you, but i can say that after a few years of Java (in fact almost 7) I still have moments when I ask myself what would be the best handling for some exceptions in an application. I am underlining the fact that most probably this kind of thoughts are not gonna find their solution inside a book, but any ideas and any more experience you get the more you'll approach the best solution.

hoping that your exception handling is the most correct one,
--
:alex |.::the_mindstorm::.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!