title: PHP : Error: Wrong parameters for Exception with thrown Array Exception
body: <p>I'm throwing the exception using the array like so:</p>
  
  <pre><code>$response = array('login_email' =&gt; '&lt;div class="warning"&gt;Your email and / or password were incorrect&lt;/div&gt;');
  
  throw new \Exception($response);
  </code></pre>
  
  <p>and what I'm catching is:</p>
  
  <pre><code>Error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]])
  </code></pre>
  
  <p>Any idea?</p>