title: Try/except for specific error of type Exception
body: <p>I have a certain function which does the following in certain cases:</p>
  
  <p>raise Exception, 'someError'</p>
  
  <p>and may raise other exceptions in other cases.</p>
  
  <p>I want to treat differently the cases when the function raises Exception, 'someError' and the cases where the function raises other exceptions.</p>
  
  <p>For example, I tried the following, but it didn't work as I expected.</p>
  
  <pre><code>try:
      raise Exception, 'someError'
  except Exception('someError'):
      print('first case')
  except:
      print ('second case')
  </code></pre>
  
  <p>This prints 'second case'...</p>