pass java exception to mruby through
check java exception before wrapping object