title: How can I ignore all java.io exception?
body: <p>I use these code in my jython script</p>
  
  <pre><code>    try:
          my_func()
      except Exception as e:
          print e
          pass
  </code></pre>
  
  <p>But I still get exception such as </p>
  
  <pre><code>java.io.FileNotFoundException: java.io.FileNotFoundException: ./filename (No such file or directory)
  </code></pre>
  
  <p>or </p>
  
  <pre><code>java.io.EOFException: java.io.EOFException
  </code></pre>
  
  <p>How can I catch all these java exceptions in jython?</p>
  
  <p>Env info:</p>
  
  <p>jython version 2.7.1</p>
  
  <p>java runtime 10.0.2</p>