title: Is there a java equivalent of vb on error/ resume next pattern?
body: <p>In VB, for error catching there is </p>
  
  <pre><code>Public Sub MySub()
      On Error GoTo Errr
      'do stuff
  Errr:
      'handle error
      Resume Next
  End Sub
  </code></pre>
  
  <p>which uses the magnificent Resume Next command. </p>
  
  <p>In Java, you have a try catch block</p>
  
  <pre><code>try 
  {
  //some code
  }
  catch (Exception e)
  {
  //handle error
  }
  </code></pre>
  
  <p>which seems to be equivalent to the VB error catching, but specifically without the Resume Next option, so Java just quits the entire code block after the error, instead of trying to run the rest of the code after the error. Is there any way to get the power of Resume Next in Java? Thanks!</p>