powered by
Catches Java exceptions to create nicer error messages.
jTryCatch(...)
Arguments to tryCatch - an expression and optionally the argument finally to specify an expression to be evaluated before returning or exiting.
tryCatch
finally
Martin Studer Mirai Solutions GmbH https://mirai-solutions.ch
This function specifies a Java Throwable error handler that catches any Java exceptions. Caught exceptions are post-processed and re-thrown using stop.
stop
tryCatch, stop
if (FALSE) { try(XLConnect:::jTryCatch(J("java.lang.Integer")$valueOf("not an integer"))) }
Run the code above in your browser using DataLab