Exception
..Root.Exception
Constructs new Exception
which is thrown when unrecognized error was encountered.
Parameters: any number of String
type variables
Return value: new Exception
NativeCallable
, Callable
try({
throw(Exception("Error!"));
}, {
log(args[0].get());
});
auto block.=({
throw(Exception("Error!"));
});
try(block, {
log(args[0].get());
});