Sha256: 11ee8034ce50787287da9f4e80044de889413efaeaa92e71c62b00c2b1f7950f
Contents?: true
Size: 545 Bytes
Versions: 108
Compression:
Stored size: 545 Bytes
Contents
package com.jrjackson; import org.jruby.Ruby; import org.jruby.RubyClass; import org.jruby.RubyException; import org.jruby.anno.JRubyClass; import org.jruby.exceptions.RaiseException; @JRubyClass(name = "JrJackson::ParseError", parent = "RuntimeError") public class ParseError { public static RaiseException newParseError(Ruby ruby, String message) { RubyClass errorClass = ruby.getModule("JrJackson").getClass("ParseError"); return new RaiseException(RubyException.newException(ruby, errorClass, message), true); } }
Version data entries
108 entries across 94 versions & 18 rubygems