...
Code Block | ||
---|---|---|
| ||
try { runAs("user_that_does_not_exist"); } catch string err { // will not catch error here } catch { runnerLog("Class:" + lastExceptionClass()); runnerLog("Message:" + lastExceptionMessage()); } |
Output is contents of last error message similar to below:
Code Block | ||
---|---|---|
| ||
Class: com.keplerrominfo.sil.lang.SILInfoException Message: [SIL Error on line: 2, column: 9] User user_that_does_not_exist does not exist. |
...