This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exceptions Handling

 
Víctor García
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Should we comment about exception handling in part 2 of SCEA? What do you think?

I have little experience in exception handling, and i have doubts about that. If we have JSF->SessionFacade->Services->JPA, which is the best option? I think that if we don't have BusinessDelegate we have no option to handle business exceptions and if we don't have DAOs we have no option to handle SQL exceptions? And, in JSF, which do you think that is the better method to exceptions handling?

Thnaks in advance and sorry for my english.
 
Dmitri Ericsson
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think here you should write that a human-readable error message should be displayed, data should remain consistent, technical details should not be shown to the end-user. Too technical details are not needed.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!