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 2005/11/24 18:57:58 UTC

[Jakarta-tapestry Wiki] Update of "CheckingVisitCreation" by AndreasAndreou

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-tapestry Wiki" for change notification.

The following page has been changed by AndreasAndreou:
http://wiki.apache.org/jakarta-tapestry/CheckingVisitCreation

New page:
Here's a nice little trick that will pinpoint exactly where Visit or any other ASO is created.

In the constructor of your ASO, add 
{{{
throw new ApplicationRuntimeException("Creating visit");
}}}

In this way, whenever that ASO is created, you'll be presented with Tapestry's
detailed exception page (it even displays the line number and the code that triggers
the creation of the ASO)

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org