Consider the difference in behavior between:

try {
  something_with_exception();
} catch (e) {
  throw e;
}

and

try {
  something_with_exception();
} catch (e) {
  try {
    something_with_exception();
  } catch (a) {
  }
  throw e;
}

Rethrown exceptions would have completely different stacktraces in this case.

http://codereview.chromium.org/9310063/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to