|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.RubyBasicObject
org.jruby.RubyObject
org.jruby.RubyException
org.jruby.RubyIconv.RubyFailure
public static class RubyIconv.RubyFailure
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jruby.RubyObject |
---|
RubyObject.ObjectMethods |
Nested classes/interfaces inherited from class org.jruby.RubyBasicObject |
---|
RubyBasicObject.BasicObjectMethods, RubyBasicObject.Finalizer |
Field Summary | |
---|---|
protected static ObjectAllocator |
ICONV_FAILURE_ALLOCATOR
|
Fields inherited from class org.jruby.RubyException |
---|
message, RAW, RAW_FILTERED, RAW_FRAME_CROP_COUNT, RUBINIUS, RUBY_COMPILED, RUBY_FRAMED, RUBY_HYBRID, TRACE_HEAD, TRACE_MAX, TRACE_TAIL, TRACE_TYPE |
Fields inherited from class org.jruby.RubyObject |
---|
OBJECT_ALLOCATOR |
Fields inherited from class org.jruby.RubyBasicObject |
---|
ALL_F, ERR_INSECURE_SET_INST_VAR, FALSE_F, FL_USHIFT, flags, FROZEN_F, metaClass, NEVER, NIL_F, TAINTED_F, UNDEF, UNTRUSTED_F, USER0_F, USER1_F, USER2_F, USER3_F, USER4_F, USER5_F, USER6_F, USER7_F |
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject |
---|
NULL_ARRAY |
Constructor Summary | |
---|---|
protected |
RubyIconv.RubyFailure(Ruby runtime,
RubyClass rubyClass)
|
|
RubyIconv.RubyFailure(Ruby runtime,
RubyClass rubyClass,
java.lang.String message)
|
Method Summary | |
---|---|
IRubyObject |
failed()
|
IRubyObject |
initialize(IRubyObject[] args,
Block block)
|
IRubyObject |
inspect()
rb_obj_inspect call-seq: obj.inspect => string Returns a string containing a human-readable representation of obj. |
static RubyIconv.RubyFailure |
newInstance(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg)
|
IRubyObject |
success()
|
Methods inherited from class org.jruby.RubyException |
---|
backtrace, copySpecialInstanceVariables, createExceptionClass, exception, exception, getBacktrace, getBacktraceFrames, initBacktrace, inspect, message, newException, newException, printBacktrace, set_backtrace, setBacktraceFrames, to_s, to_str |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final ObjectAllocator ICONV_FAILURE_ALLOCATOR
Constructor Detail |
---|
protected RubyIconv.RubyFailure(Ruby runtime, RubyClass rubyClass)
public RubyIconv.RubyFailure(Ruby runtime, RubyClass rubyClass, java.lang.String message)
Method Detail |
---|
public static RubyIconv.RubyFailure newInstance(Ruby runtime, RubyClass excptnClass, java.lang.String msg)
public IRubyObject initialize(IRubyObject[] args, Block block)
initialize
in class RubyException
public IRubyObject success()
public IRubyObject failed()
public IRubyObject inspect()
RubyObject
to_s
method to
generate the string.
[ 1, 2, 3..4, 'five' ].inspect #=> "[1, 2, 3..4, \"five\"]"
Time.new.inspect #=> "Wed Apr 09 08:54:39 CDT 2003"
inspect
in interface IRubyObject
inspect
in class RubyObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |