Sha256: f911a8e4e36e491ac77a950679ab5f881478883e7d3c91626993861734435fad
Contents?: true
Size: 532 Bytes
Versions: 9
Compression:
Stored size: 532 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
9 entries across 9 versions & 1 rubygems