Hi, (regarding https://issues.apache.org/jira/browse/TAP5-574)

I thought that invalid urls should return 404 or something, not crash the
application. Now if I want to do application global redirect when
non-existent url is entered, I must catch witch exceptions? And how can I
tell if the exception was thrown because of wrong url, and not my
programming error (The thrown java.lang.IllegalArgumentException is quite
common.)?

Anyway, I would like to show different view to user when page does not
exist, and when my application really explodes.. At least it would be nice
to throw "InvalidUrlException" or similar.

 - Ville

-- 
View this message in context: 
http://www.nabble.com/-jira--Created%3A-%28TAP5-574%29-Invalid-urls-crash-T5-tp22463565p22696065.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to