How to generate/catch a 404 error correctly?

2012-03-22 Thread Richard Berger
-to-generate-catch-a-404-error-correctly-tp7394494p7394494.html Sent from the Restlet Discuss mailing list archive at Nabble.com. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2938513

Re: How to generate/catch a 404 error correctly?

2012-03-22 Thread Richard Berger
[Solved] public Representation get(MediaType mediaType) throws ResourceException So I need to catch the ResourceException and examine the status (and that works just fine). -- View this message in context: http://restlet-discuss.1400322.n2.nabble.com/How-to-generate-catch-a-404-error