| Syntax |
|
| Documentation | $getException.getMessage: Returns the message text of an exception. The optional parameter 1 specifies the index of the exception and defaults to 0 which is the index of the last exception.
|
| Examples | |
$try{
$try{$throw{app.test.TestException1}{Test exception nr. 1}}{}
$throw{app.test.TestException2}{Test exception nr. 2}
}
{
Script exception dump of exception nr. 1$getException.dump{-2}
Internal java exception dump of exception nr. 1$getException.dump{-3}
Script exception dump of exception nr. 2$getException.dump{}
Internal java exception dump of exception nr. 2$getException.dump{-1}
Split information about the last exceptionClass: $getException.getClass{}Message: $getException.getMessage{} Stacktrace: $getException.getStackTrace{}
}
|
|
| Group | Code |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 0 |
| Maximum parameters | 1 |