How to change exception message of Exception object?
<p>So I catch an exception (instance of Exception class) and what I want to do is change its exception message.</p>

<p>I can get the exception message like this:</p>

<pre><code>$e-&gt;getMessage();
</code></pre>

<p>But how to set an exception message? This won't work:</p>

<pre><code>$e-&gt;setMessage('hello');
</code></pre>
