Forcing code flow to go to except block
<p>I have:</p>

<pre><code>try:
   ...
except Exception, e:
   print "Problem. %s" % str(e)
</code></pre>

<p>However, somewhere in try, i will need it to behave as if it encountered an Exception. Is it un-pythonic to do:</p>

<pre><code>try:
   ...
   raise Exception, 'Type 1 error'
   ...

except Exception, e:
   print "Problem. Type 2 error %s" % str(e)
</code></pre>
