title: Does exception handling rollback actions done before the exception occurred?
body: <p>Imagine I have a method like this</p>
  
  <pre><code>void myMethod(MyThing t) throws MyException {
     t.foo = "bar";
     if (t.condition()) { 
        throw new MyException();
     }
  }
  </code></pre>
  
  <p>If the exception is triggered, does the value of t.foo revert to whatever it was previously? Or does it keep the "bar" value?</p>