You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2007/06/30 15:25:26 UTC
[Tapestry Wiki] Update of "Override Tapestry Default Exception Page" by
NickWestgate
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by NickWestgate:
http://wiki.apache.org/tapestry/Override_Tapestry_Default_Exception_Page
------------------------------------------------------------------------------
{{{
public class ErrorPage extends BasePage {
public void setException(Throwable value){
+ logger.logError(value);
- System.out.println("tapestry stack trace");
- value.printStackTrace();
try {
/* Send email with the error msg */
EmailService.sendEmail(value);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org