Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error 404 Exception
#1
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"?
Reply
#2
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.
Reply
#3
Muito Obrigado José Nilton Pace, imensamente grato !

Thank you very much Jose Nilton Pace, immensely grateful!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)