rescue specific error for jruby key verification