Top Description Fields Constructors Methods
org.jruby

public Class RubyStopIteration

extends RubyIndexError
Class Inheritance
Annotations
@JRubyClass
name:StopIteration
parent:IndexError
Imports
org.jruby.anno.JRubyMethod, .JRubyClass, org.jruby.exceptions.RaiseException, .StopIteration, org.jruby.runtime.Block, .ThreadContext, .Visibility, org.jruby.runtime.builtin.IRubyObject

/** The Java representation of a Ruby StopIteration.
Author
kares
See Also
StopIteration, RubyEnumerator

Field Summary

Modifier and TypeField and Description
private IRubyObject

Constructor Summary

AccessConstructor and Description
protected
RubyStopIteration(Ruby runtime, RubyClass exceptionClass)

Method Summary

Modifier and TypeMethod and Description
public IRubyObject
protected RaiseException
pack-priv static RubyClass
public static RubyStopIteration
newInstance(ThreadContext context, IRubyObject result, String message)

public IRubyObject
public void

Field Detail

resultback to summary
private IRubyObject result

Constructor Detail

RubyStopIterationback to summary
protected RubyStopIteration(Ruby runtime, RubyClass exceptionClass)

Method Detail

__set_result__back to summary
public IRubyObject __set_result__(IRubyObject result)
Annotations
@JRubyMethod
name:__set_result__
visibility:PRIVATE
constructThrowableback to summary
protected RaiseException constructThrowable(String message)

Overrides org.jruby.RubyIndexError.constructThrowable.

Annotations
@Override
defineback to summary
pack-priv static RubyClass define(ThreadContext context, RubyClass IndexError)

Hides org.jruby.RubyIndexError.define.

newInstanceback to summary
public static RubyStopIteration newInstance(ThreadContext context, IRubyObject result, String message)
resultback to summary
public IRubyObject result()
Annotations
@JRubyMethod
setResultback to summary
public void setResult(IRubyObject result)