Description Usage Arguments Value
Execute the given expression and check for a Java exception afterwards.
If an exception was found throw an error.
Make sure that the expression, which is usually a .jcall or a .jnew function, is called with the check = FALSE option.
Otherwise the exception is cleared before jtry checks for its existance.
| 1 | jtry(expression, onError = jstop, ...)
 | 
| expression | a valid R expression, usually a call to .jcall or .jnew | 
| onError | the callback which will be called if a java exception was thrown with the exception as the first argument | 
| ... | any further arguments to the  | 
the result of the expression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.