Table plus | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Description
Excerpt | ||
---|---|---|
| ||
Returns the message of a Java class exception when an error is thrown. |
Return Type
String
Example
Code Block |
---|
try { runAs("user_that_does_not_exist"); } catch string err { // will not catch error here } catch { runnerLog("Class:" + lastExceptionClass()); runnerLog("Message:" + lastExceptionMessage()); } |
Example Output
...
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|