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

Version Path
jrjackson-0.4.18-java src/main/java/com/jrjackson/ParseError.java
jrjackson-0.4.17-java src/main/java/com/jrjackson/ParseError.java
jrjackson-0.4.16-java src/main/java/com/jrjackson/ParseError.java
jrjackson-0.4.15-java src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.14-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.14-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.2.0.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.14-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.26.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.14-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.25.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.24.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.23.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.22.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.21.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.20.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.19.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.18.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.17.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.16.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.15.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java
logstash-output-scalyr-0.1.14.beta vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/ParseError.java