add an error that comes from jruby