Save This Page
Home » jruby-src-1.1.3 » org.jruby » [javadoc | source]
org.jruby
public class: RubyException [javadoc | source]
java.lang.Object
   org.jruby.RubyObject
      org.jruby.RubyException

All Implemented Interfaces:
    VALUE

Direct Known Subclasses:
    NativeException, RubyNameError, RubySystemCallError, RubyNoMethodError, RubyLocalJumpError, RubyFailure, RubySystemExit

Field Summary
public  IRubyObject message     
public static final  int TRACE_HEAD     
public static final  int TRACE_TAIL     
public static final  int TRACE_MAX     
Constructor:
 protected RubyException(Ruby runtime,
    RubyClass rubyClass) 
 public RubyException(Ruby runtime,
    RubyClass rubyClass,
    String message) 
Method from org.jruby.RubyException Summary:
backtrace,   createExceptionClass,   exception,   exception,   getBacktrace,   initialize,   inspect,   newException,   printBacktrace,   setBacktraceFrames,   set_backtrace,   to_s,   to_str
Methods from org.jruby.RubyObject:
callInit,   defineSingletonMethod,   funcall,   funcall,   funcall,   funcall3,   getClassVarSingleton,   getInstanceVar,   getInstanceVar,   getInstanceVariables,   getRuby,   getRubyClass,   getSingletonClass,   infectObject,   isFalse,   isFrozen,   isImmediate,   isInstanceVarDefined,   isNil,   isSpecialConst,   isTaint,   isTrue,   m_clone,   m_dup,   m_equal,   m_freeze,   m_frozen,   m_id,   m_inspect,   m_instance_of,   m_kind_of,   m_methods,   m_private_methods,   m_protected_methods,   m_singleton_methods,   m_taint,   m_tainted,   m_to_s,   m_type,   m_untaint,   setFrozen,   setImmediate,   setInstanceVar,   setInstanceVar,   setInstanceVariables,   setRuby,   setRubyClass,   setTaint,   setupClone,   setupObject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jruby.RubyException Detail:
 public IRubyObject backtrace() 
 public static RubyClass createExceptionClass(Ruby runtime) 
 public RubyException exception(IRubyObject[] args) 
 public static IRubyObject exception(ThreadContext context,
    IRubyObject recv,
    IRubyObject[] args,
    Block block) 
 public IRubyObject getBacktrace() 
 public IRubyObject initialize(IRubyObject[] args,
    Block block) 
 public IRubyObject inspect(ThreadContext context) 
    inspects an object and return a kind of debug information
 public static RubyException newException(Ruby runtime,
    RubyClass excptnClass,
    String msg) 
 public  void printBacktrace(PrintStream errorStream) 
 public  void setBacktraceFrames(Frame[] backtraceFrames) 
 public IRubyObject set_backtrace(IRubyObject obj) 
 public IRubyObject to_s() 
 public IRubyObject to_str(ThreadContext context)