Sha256: bf617274c5ed67e1336b785b9d421e6eb8d91855cb980a6205bff1d83a88800c

Contents?: true

Size: 685 Bytes

Versions: 119

Compression:

Stored size: 685 Bytes

Contents

/**
 * Copyright 2005-2007 Xue Yong Zhi
 * Distributed under the BSD License
 */

package com.xruby.runtime.lang;

public class RubyExceptionValueForThrow extends RubyExceptionValue {

    private RubyValue symbol_;
    private RubyValue returnValue_;

    public RubyExceptionValueForThrow(RubyValue symbol, RubyValue returnValue) {
        super(RubyRuntime.NameErrorClass, "uncaught throw `" + symbol.toString() + "'");
        symbol_= symbol;
        returnValue_ = returnValue;
    }

    public boolean isSameSymbol(RubyValue another) {
        return symbol_.toString() == another.toString();
    }

    public RubyValue getReturnValue() {
        return returnValue_;
    }
}

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
rhodes-3.5.1.12 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.5 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.4.2 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.4 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.3 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.3.beta.4 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.3.beta.3 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.3.beta.2 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.3.beta.1 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.2 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.2.beta.7 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.2.beta.6 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.2.beta.5 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.2.beta.4 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.2.beta.3 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.2.beta.2 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.2.beta.1 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.1 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.0 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java
rhodes-3.3.0.beta.3 platform/bb/RubyVM/src/com/xruby/runtime/lang/RubyExceptionValueForThrow.java