Rescue Jruby exception