<?hh

function thrower() {
  throw new Exception("Not MyJunk");
}

function foo() {
  foreach (array(1,2,3) as $x) {
    try {
      thrower();
    } catch (MyJunk $z) { echo "Not Here\n"; }
  }
}

try {
  foo();
} catch (Exception $x) { echo "done\n"; }