Exception returning no exception
<p>I got a code something like this:</p>

<pre><code>try:
     do_something()
except (urllib2.URLError, socket.timeout), er:
     print something 
except Exception, ex:
     print "The code failed because", ex, "Please review"
</code></pre>

<p>Now, the problem is on executing the above code I am getting following output:</p>

<pre><code>The code failed because Please review
</code></pre>

<p>p.s.: The 'ex' should return the name of the exception but its not returning anything. Any idea why?</p>

<p>In reference to @Yuji and @Peter, I tried this code:</p>

<pre><code>try:
    try:
           print x
    except Exception, ex:
           print "ex:", ex
           raise
except Exception, er:
    print "er:", er
</code></pre>

<p>And the Output was:</p>

<pre><code>ex: name 'x' is not defined .
er: name 'x' is not defined .
</code></pre>

<p>Now, why raise(er) is returning an error? And why it does not in you cases?</p>
