Hi Sean,

I think you meant "/I called application.setStatusService in my main method
and it still does/ *not* /work/".

Another thing that you should consider is, *you are not catching* the
unhandled exceptions in your resource classes and then wrapping them in
ResourceException and throwing it again as ResourceException. 

The getStatus method in Status Service checks for the exception type and if
it finds ResourceException then it will not let your custom code to execute.

If it still does not work. Do share the snippets of ResourceClass and custom
status service class as well.

Thanks
Nitin

--
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/custom-exception-message-tp6969248p6972540.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2876138

Reply via email to