/
lastExceptionMessage
lastExceptionMessage
Description
Retrieves the message from of the last error exception thrown.
Return Type
String
Example
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:
Class: com.keplerrominfo.sil.lang.SILInfoException
Message: [SIL Error on line: 2, column: 9] User user_that_does_not_exist does not exist.
See also
Peacock
, multiple selections available,
Related content
lastExceptionMessage
lastExceptionMessage
More like this
lastExceptionMessage
lastExceptionMessage
More like this
lastExceptionClass
lastExceptionClass
More like this
lastExceptionClass
lastExceptionClass
More like this
lastExceptionClass
lastExceptionClass
More like this
httpGetErrorMessage
httpGetErrorMessage
More like this
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.