org.jruby
Class RubyException
java.lang.Object
org.jruby.RubyObject
org.jruby.RubyException
- All Implemented Interfaces:
- java.lang.Cloneable, IRubyObject
- public class RubyException
- extends RubyObject
- Version:
- $Revision: 1.8 $
- Author:
- jpetersen
Methods inherited from class org.jruby.RubyObject |
argCount, asSymbol, callbackFactory, callInit, callMethod, callMethod, callMethod, checkSafeString, convertToString, convertToType, convertType, createObjectClass, defineSingletonMethod, display, dup, equal, equals, eval, eval, evalUnder, extend, extendObject, freeze, frozen, getInstanceVariable, getInstanceVariables, getJavaClass, getMetaClass, getRuntime, getSingletonClass, getType, hash, hashCode, hasInstanceVariable, id, infectBy, instance_eval, instance_of, instance_variables, instanceVariableNames, isFalse, isFrozen, isKindOf, isNil, isTaint, isTrue, kind_of, makeMetaClass, marshalTo, method_missing, method, methods, nilObject, private_methods, protected_methods, rbClone, removeInstanceVariable, respond_to, respondsTo, send, setFrozen, setInstanceVariable, setInstanceVariable, setInstanceVariables, setMetaClass, setTaint, setupClone, singleton_methods, singletonMethodsAllowed, specificEval, taint, tainted, to_a, toString, type, untaint |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
message
public IRubyObject message
createExceptionClass
public static RubyClass createExceptionClass(Ruby ruby)
newException
public static RubyException newException(Ruby ruby,
RubyClass excptnClass,
java.lang.String msg)
newInstance
public static RubyException newInstance(IRubyObject recv,
IRubyObject[] args)
initialize
public IRubyObject initialize(IRubyObject[] args)
backtrace
public RubyArray backtrace()
set_backtrace
public RubyArray set_backtrace(IRubyObject obj)
exception
public RubyException exception(IRubyObject[] args)
to_s
public RubyString to_s()
- Overrides:
to_s
in class RubyObject
inspect
public RubyString inspect()
- inspects an object and return a kind of debug information
- Specified by:
inspect
in interface IRubyObject
- Overrides:
inspect
in class RubyObject
- Returns:
- A RubyString containing the debug information.
Copyright © 2002 Jan Arne Petersen. All Rights Reserved.