Hello, > your intuition is good, this message comes from the getStatus() method > of the StatusFilter class. The way you describe seems good too. I'm > not sure the whole solution has been designed just in order to obtain > easily the requested information, that's why it seems quite complex. > Jerome, what do you think about?
The default behavior is to display a simple status/error page (without stack trace for confidentiality purpose) but to log all the details via the Java Logging system. For a good tutorial on the Java Logging system: http://www.crazysquirrel.com/computing/java/logging.jspx In the console (or in a log file if you have configured the logging for this), you should get both the "Unhandled exception or error intercepted" and the stack trace. I've just done a simple test (see file attached) and it displayed this: 21 oct. 2007 12:32:35 com.noelios.restlet.http.StreamServerHelper start INFO: Starting the internal HTTP server 21 oct. 2007 12:33:39 com.noelios.restlet.StatusFilter getStatus GRAVE: Unhandled exception or error intercepted java.lang.IllegalArgumentException: TEST at org.restlet.example.tutorial.Part06$1$1.handle(Part06.java:46) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:134) at org.restlet.Filter.doHandle(Filter.java:105) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:87) at org.restlet.Filter.handle(Filter.java:134) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:134) at com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.j ava:96) at org.restlet.Application.handle(Application.java:300) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:134) at org.restlet.Router.handle(Router.java:454) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:134) at org.restlet.Router.handle(Router.java:454) at org.restlet.Filter.doHandle(Filter.java:105) at com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:87) at org.restlet.Filter.handle(Filter.java:134) at org.restlet.Filter.doHandle(Filter.java:105) at org.restlet.Filter.handle(Filter.java:134) at com.noelios.restlet.component.ComponentHelper.handle(ComponentHelper.java:11 8) at org.restlet.Component.handle(Component.java:179) at org.restlet.Server.handle(Server.java:279) at com.noelios.restlet.ServerHelper.handle(ServerHelper.java:99) at com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:94) at com.noelios.restlet.http.StreamServerHelper$Connection.run(StreamServerHelpe r.java:54) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja va:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6 75) at java.lang.Thread.run(Thread.java:595) --- Hope this helps. Best regards, Jerome
Part06.java
Description: Binary data

