Ignore System.exit() from other class
<p>Given the class below,</p>

<pre><code>public class ClassOne {
    public static void main(String... args) {
        System.exit(1);
    }
}
</code></pre>

<p>The following class will be destroyed as well, assuming there are other things to do after ClassOne.main is invoked.</p>

<pre><code>public class ClassTwo {
    public static void main(String... args) {
        ClassOne.main(args);
        Thread.sleep(30000);
    }
}
</code></pre>

<p>Is there a way to ignore the System.exit(1); of ClassOne in ClassTwo's invocation?</p>
