blob: 0cb99ba399dc65c71639bb44f86662b381c32a94 [file] [log] [blame]
CONSOLE MESSAGE: line 67: inner exception
CONSOLE MESSAGE: line 69: outer exception
Checks that $exception is the value of the current exception, even in nested catch blocks.
== Running test suite: CommandLineAPI.$exception
-- Running test case: EmptyBefore
PASS: $exception should be undefined if there is no exception.
-- Running test case: CheckExceptionInsideNestedCatchBlocks
OUTER 1: $exception => outer exception
INNER 1: $exception => inner exception
INNER 2: $exception => inner exception
CATCH: $exception === e2 ? true
OUTER 2: $exception => outer exception
CATCH: $exception === e1 ? true
-- Running test case: EmptyAfter
PASS: $exception should be undefined if there is no exception.