Error 404 Exception

<< Click to Display Table of Contents >>

Navigation:  Forum >

Error 404 Exception

Forum link

 


 

04-27-2019, 08:20 PM:

 

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"?

 


 

04-28-2019, 12:23 PM:

 

Hi, IW handle exceptions very well. Look at these demos

 

1 - https://github.com/Atozed/IntraWeb/tree/...Exceptions

 

2 - https://github.com/Atozed/IntraWeb/tree/...onCallback

 

3 - https://github.com/Atozed/IntraWeb/tree/...tionLogger

 

Maybe some of them can help you.

 


 

05-01-2019, 09:20 PM:

 

Muito Obrigado José Nilton Pace, imensamente grato !

 

 

 

Thank you very much Jose Nilton Pace, immensely grateful!