...
- A diagnostic file written in the Published Interface format. If such a diagnostic file is available the General Adapter will read it and write corresponding logs to the FEWS system.
- The return code indicating the result of an execution.
return code
meaning
0non Zero
graceful failure - read message
10
successful execution
all other
non graceful failure
Modules and their adapters cannot use exception or event handling as a means to communicate with the General Adapter.
Return code error information
The GA distinguishes between two types of failures of a module or module adaptor, graceful and non graceful.
- On non graceful failure the GA expects a non-zero return codeOn graceful failure the GA expects a zero return code. The type of error and the accompanied message are stored in the diagnostics file according to the GA.
- On non graceful failure the stack trace will be written for adapter (applies to written in FEWS only) otherwise generic message will be given that adapter has crashed.
- On successful execution the GA expects a zero return code.
Actions taken by the GA on:
...