org.jruby
Class RubyIconv.RubyFailure

java.lang.Object
  extended by org.jruby.RubyObject
      extended by org.jruby.RubyException
          extended by org.jruby.RubyIconv.RubyFailure
All Implemented Interfaces:
java.lang.Cloneable, IRubyObject
Enclosing class:
RubyIconv

public static class RubyIconv.RubyFailure
extends RubyException


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.RubyObject
RubyObject.Finalizer
 
Field Summary
protected static ObjectAllocator ICONV_FAILURE_ALLOCATOR
           
 
Fields inherited from class org.jruby.RubyException
message, TRACE_HEAD, TRACE_MAX, TRACE_TAIL
 
Fields inherited from class org.jruby.RubyObject
instanceVariables, isTrue, metaClass, NEVER, OBJECT_ALLOCATOR
 
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()
          inspects an object and return a kind of debug information
static RubyIconv.RubyFailure newInstance(Ruby runtime, RubyClass excptnClass, java.lang.String msg)
           
 IRubyObject success()
           
 
Methods inherited from class org.jruby.RubyException
backtrace, createExceptionClass, doClone, exception, getBacktrace, newException, printBacktrace, set_backtrace, setBacktraceFrames, to_s, to_str
 
Methods inherited from class org.jruby.RubyObject
addFinalizer, anyToString, asString, asSymbol, attachToObjectSpace, callInit, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodMissing, callMethodMissing, callSuper, checkArrayType, checkFrozen, checkStringType, compilerCallMethod, compilerCallMethodWithIndex, convertToArray, convertToFloat, convertToHash, convertToInteger, convertToString, convertToType, convertToType, convertToType, convertToTypeWithCheck, createObjectClass, dataGetStruct, dataWrapStruct, display, dup, eql, eqlInternal, equal, equalInternal, equals, evalSimple, evalUnder, evalWithBinding, extend, freeze, frozen, getInstanceVariable, getInstanceVariables, getInstanceVariablesSnapshot, getJavaClass, getMetaClass, getNativeTypeIndex, getRuntime, getSingletonClass, getSingletonClassClone, getType, hash, hashCode, id_deprecated, id, infectBy, inherited, initCopy, initialize_copy, instance_eval, instance_exec, instance_of, instance_variable_get, instance_variable_set, instance_variables, instanceVariableNames, isFalse, isFrozen, isImmediate, isKindOf, isNil, isSingleton, isTaint, isTrue, kind_of, makeMetaClass, match, method, methods, nil_p, obj_equal, private_methods, protected_methods, public_methods, puts, rbClone, remove_instance_variable, removeFinalizers, removeInstanceVariable, respond_to, respondsTo, safeGetInstanceVariables, safeHasInstanceVariables, send, setFrozen, setInstanceVariable, setInstanceVariable, setInstanceVariables, setMetaClass, setTaint, singleton_methods, specificEval, taint, tainted, testFrozen, toString, trueFalseNil, trueFalseNil, type_deprecated, type, untaint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ICONV_FAILURE_ALLOCATOR

protected static ObjectAllocator ICONV_FAILURE_ALLOCATOR
Constructor Detail

RubyIconv.RubyFailure

protected RubyIconv.RubyFailure(Ruby runtime,
                                RubyClass rubyClass)

RubyIconv.RubyFailure

public RubyIconv.RubyFailure(Ruby runtime,
                             RubyClass rubyClass,
                             java.lang.String message)
Method Detail

newInstance

public static RubyIconv.RubyFailure newInstance(Ruby runtime,
                                                RubyClass excptnClass,
                                                java.lang.String msg)

initialize

public IRubyObject initialize(IRubyObject[] args,
                              Block block)
Overrides:
initialize in class RubyException

success

public IRubyObject success()

failed

public IRubyObject failed()

inspect

public IRubyObject inspect()
Description copied from class: RubyException
inspects an object and return a kind of debug information

Specified by:
inspect in interface IRubyObject
Overrides:
inspect in class RubyException
Returns:
A RubyString containing the debug information.


Copyright © 2002-2007 JRuby Team. All Rights Reserved.