Changes for page Development-Custom Error Handling
Last modified by Ray Kiddy on 2021/04/22 20:40
From version 4.1
edited by Pascal Robert
on 2007/09/03 15:11
on 2007/09/03 15:11
Change comment:
There is no comment for this version
To version 7.1
edited by Pascal Robert
on 2010/09/13 00:26
on 2010/09/13 00:26
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - Web Applications-Development-Custom Error Handling1 +Development-Custom Error Handling - Content
-
... ... @@ -1,6 +1,6 @@ 1 1 == Exception Page == 2 2 3 -To provide a custom error handler when an exception is thrown, override th emethod:3 +To provide a custom error handler when an exception is thrown, override this WOApplication method: 4 4 5 5 {{code}} 6 6 ... ... @@ -57,9 +57,9 @@ 57 57 This message started to appear in WO 5.2 when an exception was raised in a DirectAction, but only in deployed applications. Here is what is happening: 58 58 59 59 WODisplayExceptionPages 60 -true or false to enable or disable the generation of WOExceptionPages for direct action requests. Default is true in development mode and false in deployment mode. 60 + true or false to enable or disable the generation of WOExceptionPages for direct action requests. Default is true in development mode and false in deployment mode. 61 61 62 -From [[http://developer.apple.com/documentation/WebObjects/WOAppProperties/AppProperties/chapter_1_section_1.html]] 62 +From [[http:~~/~~/developer.apple.com/documentation/WebObjects/WOAppProperties/AppProperties/chapter_1_section_1.html>>url:http://developer.apple.com/documentation/WebObjects/WOAppProperties/AppProperties/chapter_1_section_1.html||shape="rect"]] 63 63 64 64 If the page being returned throws during appendToResponse and the app is deployed, all that is displayed is a blank page with the words "Your request produced an error". 65 65