VA 8.5: Fatal Application Error exit dialog

112 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Marten Feldtmann

ungelesen,
11.11.2011, 16:08:3611.11.11
an va-sma...@googlegroups.com
According to the documentation:

" User error codes from 9000 through 9099 will suppress the display of the Fatal Application Error dialog box."

if this is true, how is this possible ? And another question: how can I get rid of this ?




Marten Feldtmann

ungelesen,
11.11.2011, 19:01:1111.11.11
an va-sma...@googlegroups.com
I forgot the dialog
FatalapErrrDialog.png

Marten Feldtmann

ungelesen,
12.11.2011, 03:46:2312.11.11
an va-sma...@googlegroups.com
On the other hand: why does esvio.exe at all gives such GUI interaction - its a headless application.


Marten Feldtmann

ungelesen,
15.11.2011, 09:19:5915.11.11
an va-sma...@googlegroups.com
Any idea about this ?

Louis LaBrunda

ungelesen,
16.11.2011, 09:26:1716.11.11
an va-sma...@googlegroups.com
Hi Marten,

I have used "System exit: 9001 withObject: nil" from a VAST 8.0.3 NT service image without a problem or dialog?

Lou

jtu...@objektfabrik.de

ungelesen,
16.11.2011, 09:55:1516.11.11
an va-sma...@googlegroups.com
Lou, Marten,

same here: I use 9001 to signal a failed automated build to hudson, and there's never any dialog or anything. The image gets called by a batch file. But I start abt.exe, not esvio.exe.

So maybe this is a specialty of esvio.exe...?

Marten Feldtmann

ungelesen,
16.11.2011, 17:08:3916.11.11
an va-sma...@googlegroups.com
"System exit: 9001 withObject: nil" under abt.exe works here also. I had to use "System primitiveExit: 9001 withObject: nil" under esvio.exe, because "System exit: 9001 withObject: nil" does not fully work under esvio.exe: it seems to kill lots of stuff within the image (Seaside is not working/serving any more), but it does NOT exit the application.

jtu...@objektfabrik.de

ungelesen,
16.11.2011, 19:36:0816.11.11
an va-sma...@googlegroups.com
okay...

so here's the question for Instantiations: what is the difference between exit:withObject: and primitiveExit:withObject: and which is intended for what?

And while somebody is digging in the docs: maybe some info on the 9001 and up range for the value would also be helpful.

Thanks

Joachim

Marten Feldtmann

ungelesen,
17.11.2011, 01:32:1217.11.11
an va-sma...@googlegroups.com
It's documented under "VA Smalltalk Virtual Machine API : Primitive error codes":

"Users can add new error codes with values above EsPrimErrMinUserError. User error codes from 9000 through 9099 will suppress the display of the Fatal Application Error dialog box."
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten