Changes for page Development-Custom Error Handling
Last modified by Ray Kiddy on 2021/04/22 20:40
From version 5.1
edited by arroz
on 2008/04/20 17:24
on 2008/04/20 17:24
Change comment:
There is no comment for this version
To version 3.1
edited by Quinton Dolan
on 2007/07/12 20:51
on 2007/07/12 20:51
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Web Applications-Development-Custom Error Handling 1 +Programming__WebObjects-Web Applications-Development-Custom Error Handling - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. arroz1 +XWiki.qdolan - Content
-
... ... @@ -1,6 +1,6 @@ 1 -== Exception Page == 1 +== Exception Page == 2 2 3 -To provide a custom error handler when an exception is thrown, override th isWOApplicationmethod:3 +To provide a custom error handler when an exception is thrown, override the method: 4 4 5 5 {{code}} 6 6 ... ... @@ -23,11 +23,11 @@ 23 23 response = pageWithName(YourExceptionPage.class.getName(), _context).generateResponse(); 24 24 } 25 25 return response; 26 -} 26 +} 27 27 28 28 {{/code}} 29 29 30 -== Session Expired == 30 +== Session Expired == 31 31 32 32 To provide a custom error handler when an exception is thrown, override the method: 33 33 ... ... @@ -50,9 +50,9 @@ 50 50 51 51 {{/code}} 52 52 53 -== Your Request Produced an Error == 53 +== Your Request Produced an Error == 54 54 55 -=== Chuck Hill === 55 +=== Chuck Hill === 56 56 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 ... ... @@ -83,3 +83,5 @@ 83 83 {{/code}} 84 84 85 85 This won't work if you put it in the constructor. 86 + 87 +Category:WebObjects