Jerome, Sorry about that (updated). Here is the ViewVC link to the file - http://vangaea.svn.sourceforge.net/viewvc/vangaea/trunk/src/main/java/com/h9labs/vangaea/server/rest/BaseResource.java?view=markup .
I've updated the code to take advantage of M4's doCatch handler. However, when I throw a ResourceException in the doInit() method, or any method, the ResourceException is not being displayed in the browser, and I was under the impression that it should. Thanks! -- -a "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -- Einstein On Jul 21, 2009, at 2:53 AM, Jerome Louvel wrote: > Hi Schley, > > Could you send us your project (or a snippet reproducing the issue) > and > Restlet environment details (version, OS, etc.)? It should > definitely work. > > BTW, I suggest that you use more meaningful email title when you post, > easier for tracking and searching in the archives. > > Best regards, > Jerome Louvel > -- > Restlet ~ Founder and Lead developer ~ http://www.restlet.org > Noelios Technologies ~ Co-founder ~ http://www.noelios.com > > > > -----Message d'origine----- > De : Schley Andrew Kutz [mailto:[email protected]] > Envoyé : mardi 14 juillet 2009 21:52 > À : [email protected] > Objet : Help! > > The StringRepresentation returned by 'public Representation handle()' > is no longer appearing in the browser when I access my server. > > Here is an example: > > @Override > public Representation handle() > { > if (true) return new StringRepresentation("Hello, world."); > ... > > That should ALWAYS trump any other logic and show Hell, world. in the > browser. Was a bug introduced to the Maven snapshot? Or do you think I > could have farked myself somehow. > > -- > -a > > "Ideally, a code library must be immediately usable by naive > developers, easily customized by more sophisticated developers, and > readily extensible by experts." -- L. Stein > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23713 > 20 > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2372837 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2374613

