title: If my program exits with status 1 when the execution fails do I also have to include an exit with status 0 if the execution was successful?
body: <p>I am writing a program in Java where I need to make sure I have correct error handling, that is I need to follow Java's standard convention and let the program exit with either a successful or non-successful status.</p>
  <p>I have included a <code>System.exit(1)</code> whenever I am &quot;catching&quot; an error in my program. Now I wonder if I also need to provide a <code>System.exit(0)</code> in my program as well? In such case where in my program do I add the exit with status 1?</p>
  <p>Thank you.</p>