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 03:49:08
From:  jyanez


Congratulations, this is a good a article.

I think that to use Log and Thrown in a Session Facade is correct. The SessionFacade needs register the exception and it needs throws another exception to comunicate to the presentation layer the problem.

An alternative is to log in the presentation layer, but I think that is incorrect. The presentation layer is really another application

Regards, Javier Yáñez


 Feed java.net RSS Feeds