Handling Internal Exceptions in a Process

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
gernotlg
Posts: 80
Joined: Fri Aug 27, 2021 1:24 am

Handling Internal Exceptions in a Process

Post by gernotlg »

I must be missing something really really basic here, I've searched the forums and docs ( for hours ) but cant seem to find anything.

If there is an Internal Exception in a Rule within a Process, how do I catch it ?

I know I can use Report Error, and then use Failure Rules... But a Process doesn't even make it to the next Rule in order to Report Error when there is an Internal Exception.

eg:

Rule 1 : Find ALL someBO
Rule 2 : If SEARCH_COUNT = 0 then Report Error

So, this works fine except when the database server is unreachable... it throws an exception.

Surely there is a way to catch an internal error ... Remember On Error Goto ?
V8.8 / Windows / MySQL
hpl123
Posts: 2600
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Re: Handling Internal Exceptions in a Process

Post by hpl123 »

1+ for clarity and/or a solution to this.
Henrik (V8 Developer Ed. - Windows)
BobK
Posts: 545
Joined: Thu Jan 31, 2008 2:14 pm
Location: Cincinnati, Ohio, USA

Re: Handling Internal Exceptions in a Process

Post by BobK »

gernotlg wrote: Tue Jan 30, 2024 12:07 am Surely there is a way to catch an internal error ... Remember On Error Goto ?
There is now way that I know of to catch an internal error.
I feel your pain.
Bob
Post Reply