I changed the package name last night :( http://vangaea.svn.sourceforge.net/viewvc/vangaea/trunk/src/main/java/com/hyper9/vangaea/server/rest/BaseResource.java?view=markup
Here is the updated link. Thanks! -- -a "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -- Einstein On Jul 25, 2009, at 6:01 AM, Jerome Louvel wrote: > Hi Schley, > > I could open your link (404). By default, the exception doesn't > appear in the browser to not expose too much internal details. You > can customize the StatusService if needed. > > I agree it would be nice to have such an option available so I've > updated this RFE: > > "Return clear status description when exception caught" > http://restlet.tigris.org/issues/show_bug.cgi?id=852 > > 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é : jeudi 23 juillet 2009 01:07 > À : [email protected] > Objet : Re: Help! -- Error handler isn't working > > 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 > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2375508 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2375517

