Java application return codes
- by doele
I have a Java program that processes one file at a time. This Java program is called from a wrapper script which logs the return code from the Java program. There are 2 types of errors. Expected errors and unexpected errors. In both cases I just need to log them.
My wrapper knows about 3 different states. 0-OK, 1-PROCESSING_FAILED, 2- ERROR.
Is…