Web Connection User Guide : Advanced topics : Error handling : AbtWsiConfiguration class methods
AbtWsiConfiguration class methods
errorHandler: aClass
When an exception occurs during the processing of a request, the following processing occurs:
The class specified by the errorHandler: method is used to generate the output for the page. This class should be a normal Web Connection part. The processing which occurs for this page is the same as if the page had been requested normally.
After the error page is generated and sent back to the server, the exception is signaled which will generally bring up a debugger. In packaged runtime images, the exception is not signaled.
errorHandler
Answers the Web Connection part class set by the errorHandler: method.
notFoundHandler: aClass
When a request is received which corresponds to a part which is not in the current image, the class specified by the notFoundHandler: method is used to generate the output for the page. This class should be a normal Web Connection part. The processing which occurs for this page is the same as if the page had been requested normally.
notFoundHandler
Answers the Web Connection part class set by the notFoundHandler: method.
Last modified date: 01/29/2015