Community Discussions and Support
What's this policy exception?

[quote user="Vincent Fatica"]

What exactly does this, from the system messages window, mean?

 POLICY: Exception 2, job 'MG000003' deleted

I wrote the policy EXE and it always returns 0.  Does "Exception 2" have some specific meaning?

[/quote]

P.S., The policy EXE uses the native DWORD (WINAPI *) (VOID) entry point signature.  I often do that when C libraries aren't needed and many such apps worked flawlessly for years under XP.  After switching to Win7, some of them (haven't figured out rhyme or reason) don't work flawlessly ... they reach a "return" (from the entry point), the main thread ends (according to the debugger, and I'm not creating other threads), but the app doesn't terminate.  But I don't think that's happening in this case for several reasons ... (1) the policy EXE tests OK, (2) there aren't zombie instances of it running, (3) the "POLICY: Exception" message occurs 1-2 seconds after the mail arrives, and (4) the docs say that when a policy hangs, Mercury treats the message as OK.

 - Vince

[quote user="Vincent Fatica"]<p>What exactly does this, from the system messages window, mean?</p><p> POLICY: Exception 2, job 'MG000003' deleted</p><p>I wrote the policy EXE and it always returns 0.  Does "Exception 2" have some specific meaning?</p><p>[/quote]</p><p>P.S., The policy EXE uses the native DWORD (WINAPI *) (VOID) entry point signature.  I often do that when C libraries aren't needed and many such apps worked flawlessly for years under XP.  After switching to Win7, some of them (haven't figured out rhyme or reason) don't work flawlessly ... they reach a "return" (from the entry point), the main thread ends (according to the debugger, and I'm not creating other threads), but the app doesn't terminate.  But I don't think that's happening in this case for several reasons ... (1) the policy EXE tests OK, (2) there aren't zombie instances of it running, (3) the "POLICY: Exception" message occurs 1-2 seconds after the mail arrives, and (4) the docs say that when a policy hangs, Mercury treats the message as OK.</p><p> - Vince </p>

What exactly does this, from the system messages window, mean?

 POLICY: Exception 2, job 'MG000003' deleted

I wrote the policy EXE and it always returns 0.  Does "Exception 2" have some specific meaning?

Thanks.

 - Vince

<p>What exactly does this, from the system messages window, mean?</p><p> POLICY: Exception 2, job 'MG000003' deleted</p><p>I wrote the policy EXE and it always returns 0.  Does "Exception 2" have some specific meaning?</p><p>Thanks.</p><p> - Vince </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft