System.exit() results unexecutable finally block
<p>Well ,I am working on <code>My application's under maintanace module</code></p>

<pre><code>try {
  if (isUndermaintanace) {
          System.exit(1);
        } else {
         prepareResources();
        }

} catch (Exception e) {
        printStack(e);
        } finally {
       cleanResources();
      }
</code></pre>

<p>When I am passing  <code>isundermaintanace</code>  <code>true</code>  finally not executing.</p>

<p>where I am missing ??is there any other way to do that ??</p>
