Lines Matching refs:exception
47 var exception;
52 exception = e;
55 if (exception) {
56 if (typeof exType == "undefined" || exception instanceof exType)
57 testPassed(f + " threw exception " + exception + ".");
59 testFailed(f + " should throw exception " + exType + ". Threw exception " + exception + ".");
61 testFailed(f + " should throw exception " + exType + ". Was undefined.");
63 testFailed(f + " should throw exception " + exType + ". Was " + _av + ".");
70 testPassed(f + " did not throw an exception");
72 testFailed(f + " threw an exception " + e + " when no exception expected");