Is there a sense to handle nullpointer exception by such way?
<p>Is there a sense to handle null pointer exception by such way like</p>

<pre><code>private void doWork(Object object) {
    if (object == null) {
        try {
            throw new IllegalArgumentException();
        } catch (Exception e) {
            e.printStackTrace();
        }
    } else {
        ...
    }
}
</code></pre>

<p>?</p>

<p>Thanks in advance.</p>
