Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

lastExceptionMessage()

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "basic_routine" and space = currentSpace ( )
labelsarray_routines