Error HandlingLast Updated: 9/16/2008 | |
| Sections above here: Home ยป Development | |
|
Sections below here:
Topics in this section: |
Error MessagesIntraweb will display error messages resulting from exceptions.These error messages can be customized using templates. See using templates. Simple error dialogWhen an IntraWeb application raises an exception, that exception can be caught and the information displayed in a customized manner. In some cases the exception can be displayed without aborting the application. There is a property of the ServerController called "ExceptionDisplayMode" which can be set to smAlert, smSameWindow, SmNewWindow, or smSameWindowFrame. Default is smAlert which will display error in a pop up window. TimeoutsIntraWeb treats "TimeOut" exceptions differently than regular exceptions. "TimeOut" exceptions occur when a user tries to access a session which is already terminated (or never existed before). You can get this error by setting IWServerController.SessionTimeOut for a short period of time and leave your application with no activity. Then, if you try to access your application, you will end up with a time-out error. You can catch TimeOut errors by assigning IWServerController.TimeOutURL . This URL will be displayed if a Timout error occurs. Non-recoverable ErrorsIf an exception occurs which prevents a page to completely render (e.g. any exception in IWForm.OnRender) will show Non server-side errorsErrors could occur in the WEB browser itself while script code parcing. As this is not an IntraWeb error you can do nothing with it to costomize, but it's useful to configure IE in the way like this:
|
(C) 2002-2009 - Atozed Software Ltd. | |