The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Exception-Handling Antipatterns
Subject:  Log and Throw in a Session Facade
Date:  2006-04-07 11:13:45
From:  jyanez
Response to: Log and Throw in a Session Facade


I agree. When I writed the comment I'm thinking in a typical situation of a Session Facade catching SQLexceptions of a DAO. SQLExceptions are system exceptions and the Session Facade must do Log and Throw. Application exceptions must not do Log and Thrown, you're right.

 Feed java.net RSS Feeds