Atozed Forums
Error 404 Exception - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Error 404 Exception (/thread-1050.html)



Error 404 Exception - intelmib - 04-27-2019

procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
  TIWExceptionRenderer.RenderHTML(PARAM_EXCEPTION,'https://google.com.br');
End;


this way I treat the error by directing to the desirable URL.

my doubt is

which parameter to pass in "PARAM_EXCEPTION"?


RE: Error 404 Exception - Jose Nilton Pace - 04-28-2019

Hi, IW handle exceptions very well. Look at these demos
1 - https://github.com/Atozed/IntraWeb/tree/master/XIV/Delphi/CustomizingExceptions
2 - https://github.com/Atozed/IntraWeb/tree/master/XIV/Delphi/ExceptionCallback
3 - https://github.com/Atozed/IntraWeb/tree/master/XIV/Delphi/ExceptionLogger

Maybe some of them can help you.


RE: Error 404 Exception - intelmib - 05-01-2019

Muito Obrigado José Nilton Pace, imensamente grato !

Thank you very much Jose Nilton Pace, immensely grateful!