public class org.jruby.RubyException extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyException
super_class: org.jruby.RubyObject
{
public static final int TRACE_HEAD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int TRACE_TAIL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int TRACE_MAX;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 18
private final org.jruby.RubyException$Backtrace backtrace;
descriptor: Lorg/jruby/RubyException$Backtrace;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
org.jruby.runtime.builtin.IRubyObject message;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0000)
private org.jruby.runtime.builtin.IRubyObject cause;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
private org.jruby.exceptions.RaiseException throwable;
descriptor: Lorg/jruby/exceptions/RaiseException;
flags: (0x0002) ACC_PRIVATE
public static org.jruby.runtime.ObjectAllocator EXCEPTION_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
private static final org.jruby.runtime.ObjectMarshal<org.jruby.RubyException> EXCEPTION_MARSHAL;
descriptor: Lorg/jruby/runtime/ObjectMarshal;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lorg/jruby/runtime/ObjectMarshal<Lorg/jruby/RubyException;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokedynamic allocate()Lorg/jruby/runtime/ObjectAllocator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
org/jruby/RubyException.lambda$0(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject; (6)
(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
putstatic org.jruby.RubyException.EXCEPTION_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
1: new org.jruby.RubyException$1
dup
invokespecial org.jruby.RubyException$1.<init>:()V
putstatic org.jruby.RubyException.EXCEPTION_MARSHAL:Lorg/jruby/runtime/ObjectMarshal;
2: return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
new org.jruby.RubyException$Backtrace
dup
invokespecial org.jruby.RubyException$Backtrace.<init>:()V
putfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
2: aload 0
aconst_null
putfield org.jruby.RubyException.cause:Lorg/jruby/runtime/builtin/IRubyObject;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyException;
0 4 1 runtime Lorg/jruby/Ruby;
0 4 2 rubyClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
rubyClass
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
new org.jruby.RubyException$Backtrace
dup
invokespecial org.jruby.RubyException$Backtrace.<init>:()V
putfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
2: aload 0
aconst_null
putfield org.jruby.RubyException.cause:Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 0
aload 3
ifnonnull 4
aload 1
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
goto 5
StackMap locals: org.jruby.RubyException org.jruby.Ruby org.jruby.RubyClass java.lang.String
StackMap stack: org.jruby.RubyException
4: aload 1
aload 3
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
StackMap locals: org.jruby.RubyException org.jruby.Ruby org.jruby.RubyClass java.lang.String
StackMap stack: org.jruby.RubyException org.jruby.runtime.builtin.IRubyObject
5: invokevirtual org.jruby.RubyException.setMessage:(Lorg/jruby/runtime/builtin/IRubyObject;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyException;
0 7 1 runtime Lorg/jruby/Ruby;
0 7 2 rubyClass Lorg/jruby/RubyClass;
0 7 3 message Ljava/lang/String;
MethodParameters:
Name Flags
runtime
rubyClass
message
public static org.jruby.runtime.builtin.IRubyObject exception(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
checkcast org.jruby.RubyClass
aload 0
aload 2
aload 3
invokevirtual org.jruby.RubyClass.newInstance:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"exception"}, optional = 1, rest = true, meta = true)
MethodParameters:
Name Flags
context
recv
args
block
public static org.jruby.runtime.builtin.IRubyObject op_eqq(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: aload 2
instanceof org.jruby.java.proxies.ConcreteJavaProxy
ifeq 7
2: aload 1
aload 3
invokevirtual org.jruby.Ruby.getException:()Lorg/jruby/RubyClass;
if_acmpeq 3
aload 1
aload 3
invokevirtual org.jruby.Ruby.getStandardError:()Lorg/jruby/RubyClass;
if_acmpne 7
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 2
checkcast org.jruby.java.proxies.ConcreteJavaProxy
invokevirtual org.jruby.java.proxies.ConcreteJavaProxy.getObject:()Ljava/lang/Object;
astore 4
start local 4 4: aload 4
instanceof java.lang.Throwable
ifeq 7
aload 4
instanceof org.jruby.exceptions.JumpException$FlowControlException
ifne 7
5: aload 1
aload 3
invokevirtual org.jruby.Ruby.getException:()Lorg/jruby/RubyClass;
if_acmpeq 6
aload 4
instanceof java.lang.Exception
ifeq 7
6: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
areturn
end local 4 7: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.RubyClass
aload 0
aload 2
invokevirtual org.jruby.RubyClass.op_eqq:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 context Lorg/jruby/runtime/ThreadContext;
0 8 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 8 2 other Lorg/jruby/runtime/builtin/IRubyObject;
1 8 3 runtime Lorg/jruby/Ruby;
4 7 4 object Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"==="}, meta = true)
MethodParameters:
Name Flags
context
recv
other
protected org.jruby.exceptions.RaiseException constructThrowable(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.exceptions.Exception
dup
aload 1
aload 0
invokespecial org.jruby.exceptions.Exception.<init>:(Ljava/lang/String;Lorg/jruby/RubyException;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyException;
0 1 1 message Ljava/lang/String;
MethodParameters:
Name Flags
message
public static org.jruby.RubyClass createExceptionClass(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ldc "Exception"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.RubyException.EXCEPTION_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 1: aload 1
getstatic org.jruby.runtime.ClassIndex.EXCEPTION:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.RubyClass.setClassIndex:(Lorg/jruby/runtime/ClassIndex;)V
2: aload 1
ldc Lorg/jruby/RubyException;
invokevirtual org.jruby.RubyClass.setReifiedClass:(Ljava/lang/Class;)V
3: aload 1
getstatic org.jruby.RubyException.EXCEPTION_MARSHAL:Lorg/jruby/runtime/ObjectMarshal;
invokevirtual org.jruby.RubyClass.setMarshal:(Lorg/jruby/runtime/ObjectMarshal;)V
4: aload 1
ldc Lorg/jruby/RubyException;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 runtime Lorg/jruby/Ruby;
1 6 1 exceptionClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
public static org.jruby.RubyException newException(org.jruby.Ruby, org.jruby.RubyClass, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/RubyException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: ldc "No message available"
astore 2
2: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 0
aload 2
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyClass.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyException
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 exceptionClass Lorg/jruby/RubyClass;
0 3 2 msg Ljava/lang/String;
MethodParameters:
Name Flags
runtime
exceptionClass
msg
public static org.jruby.RubyException newException(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.RubyString);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyString;)Lorg/jruby/RubyException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 2
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyClass.newInstance:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyException
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 exceptionClass Lorg/jruby/RubyClass;
0 1 2 message Lorg/jruby/RubyString;
MethodParameters:
Name Flags
context
exceptionClass
message
public static org.jruby.runtime.builtin.IRubyObject newException(org.jruby.runtime.ThreadContext, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToString:()Lorg/jruby/RubyString;
invokestatic org.jruby.RubyException.newException:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyString;)Lorg/jruby/RubyException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
0 1 1 exceptionClass Lorg/jruby/RubyClass;
0 1 2 message Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
exceptionClass
message
public org.jruby.runtime.builtin.IRubyObject full_message(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.jruby.RubyException.full_message:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyException;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject full_message(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
aload 0
aload 2
invokestatic org.jruby.runtime.backtrace.TraceType.printFullMessage:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyException;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 opts Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
opts
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
arraylength
iconst_1
if_icmpne 1
aload 0
aload 1
iconst_0
aaload
invokevirtual org.jruby.RubyException.setMessage:(Lorg/jruby/runtime/builtin/IRubyObject;)V
1: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyException;
0 2 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 2, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
args
block
public org.jruby.runtime.builtin.IRubyObject backtrace();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyException.getBacktrace:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyException;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public org.jruby.runtime.builtin.IRubyObject set_backtrace(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.RubyException.setBacktrace:(Lorg/jruby/runtime/builtin/IRubyObject;)V
1: aload 0
invokevirtual org.jruby.RubyException.backtrace:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyException;
0 2 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1)
MethodParameters:
Name Flags
obj
public void setBacktrace(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 1
aload 0
aload 1
invokevirtual org.jruby.RubyException.isArrayOfStrings:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 3
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
aload 1
putfield org.jruby.RubyException$Backtrace.backtraceObject:Lorg/jruby/runtime/builtin/IRubyObject;
2: goto 7
StackMap locals:
StackMap stack:
3: aload 1
instanceof org.jruby.RubyString
ifeq 6
4: aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
aload 0
invokevirtual org.jruby.RubyException.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.RubyArray.newArray:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
putfield org.jruby.RubyException$Backtrace.backtraceObject:Lorg/jruby/runtime/builtin/IRubyObject;
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyException.getRuntime:()Lorg/jruby/Ruby;
ldc "backtrace must be Array of String"
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/RubyException;
0 8 1 obj Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
obj
public org.jruby.runtime.builtin.IRubyObject backtrace_locations(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
getfield org.jruby.RubyException$Backtrace.backtraceLocations:Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
areturn
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
aload 1
invokevirtual org.jruby.RubyException$Backtrace.generateBacktraceLocations:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
dup_x1
putfield org.jruby.RubyException$Backtrace.backtraceLocations:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyException;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
1 3 2 backtraceLocations Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(omit = true)
MethodParameters:
Name Flags
context
public org.jruby.RubyException exception(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
tableswitch { // 0 - 1
0: 1
1: 2
default: 6
}
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
aload 0
if_acmpne 3
aload 0
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyException.rbClone:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyException
astore 2
start local 2 4: aload 2
aload 1
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyException.initialize:([Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
5: aload 2
areturn
end local 2 6: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyException.getRuntime:()Lorg/jruby/Ruby;
ldc "Wrong argument count"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyException;
0 7 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
4 6 2 ret Lorg/jruby/RubyException;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(optional = 1)
MethodParameters:
Name Flags
args
public org.jruby.runtime.builtin.IRubyObject to_s(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyException.getMessage:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 1: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 2
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.asString:()Lorg/jruby/RubyString;
areturn
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.RubyException.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getName:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyException;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
1 3 2 msg Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_s"})
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject to_s19(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.RubyException.to_s:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyException;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject message(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "to_s"
invokevirtual org.jruby.RubyException.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyException;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"message"})
MethodParameters:
Name Flags
context
public org.jruby.RubyString inspect(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyString;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyException.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.rubyName:()Lorg/jruby/RubyString;
astore 2
start local 2 1: aload 1
aload 0
invokestatic org.jruby.RubyString.objAsString:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
astore 3
start local 3 2: aload 3
invokevirtual org.jruby.RubyString.isEmpty:()Z
ifeq 3
aload 2
areturn
3: StackMap locals: org.jruby.RubyString org.jruby.RubyString
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "#<"
aload 2
ldc ": "
aload 3
ldc ">"
invokestatic org.jruby.util.RubyStringBuilder.str:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Ljava/lang/String;
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyException;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 rubyClass Lorg/jruby/RubyString;
2 4 3 exception Lorg/jruby/RubyString;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"inspect"})
MethodParameters:
Name Flags
context
public org.jruby.RubyBoolean op_equal(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
if_acmpne 1
aload 1
getfield org.jruby.runtime.ThreadContext.tru:Lorg/jruby/RubyBoolean;
areturn
1: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getException:()Lorg/jruby/RubyClass;
aload 2
invokevirtual org.jruby.RubyClass.isInstance:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifeq 6
2: aload 0
invokevirtual org.jruby.RubyException.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
if_acmpne 6
3: aload 0
aload 1
ldc "message"
invokevirtual org.jruby.RubyException.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
aload 1
ldc "message"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
aload 1
ldc "backtrace"
invokevirtual org.jruby.RubyException.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
aload 1
ldc "backtrace"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 3
start local 3 8: aload 1
iload 3
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/RubyException;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 other Lorg/jruby/runtime/builtin/IRubyObject;
8 9 3 equal Z
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"=="})
MethodParameters:
Name Flags
context
other
public org.jruby.runtime.builtin.IRubyObject cause(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyException.cause:Lorg/jruby/runtime/builtin/IRubyObject;
ifnonnull 1
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.RubyException.cause:Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyException;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"cause"})
MethodParameters:
Name Flags
context
public <T> T toJava(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Ljava/lang/Object;
if_acmpeq 2
aload 1
ldc Lorg/jruby/exceptions/RaiseException;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 2
1: aload 1
aload 0
invokevirtual org.jruby.RubyException.toThrowable:()Lorg/jruby/exceptions/RaiseException;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial org.jruby.RubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyException;
0 3 1 target Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
target
public org.jruby.exceptions.RaiseException toThrowable();
descriptor: ()Lorg/jruby/exceptions/RaiseException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyException.throwable:Lorg/jruby/exceptions/RaiseException;
ifnonnull 2
1: aload 0
aload 0
aload 0
invokevirtual org.jruby.RubyException.getMessageAsJavaString:()Ljava/lang/String;
invokevirtual org.jruby.RubyException.constructThrowable:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
dup_x1
putfield org.jruby.RubyException.throwable:Lorg/jruby/exceptions/RaiseException;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyException.throwable:Lorg/jruby/exceptions/RaiseException;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyException;
public void setCause(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.RubyException.cause:Lorg/jruby/runtime/builtin/IRubyObject;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyException;
0 2 1 cause Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
cause
public java.lang.Object getCause();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyException.cause:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyException;
public org.jruby.runtime.backtrace.RubyStackTraceElement[] getBacktraceElements();
descriptor: ()[Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
getfield org.jruby.RubyException$Backtrace.backtraceData:Lorg/jruby/runtime/backtrace/BacktraceData;
ifnonnull 2
1: getstatic org.jruby.runtime.backtrace.RubyStackTraceElement.EMPTY_ARRAY:[Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
getfield org.jruby.RubyException$Backtrace.backtraceData:Lorg/jruby/runtime/backtrace/BacktraceData;
aload 0
invokevirtual org.jruby.RubyException.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.runtime.backtrace.BacktraceData.getBacktrace:(Lorg/jruby/Ruby;)[Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyException;
public void captureBacktrace(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getInstanceConfig:()Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getTraceType:()Lorg/jruby/runtime/backtrace/TraceType;
aload 1
invokevirtual org.jruby.runtime.backtrace.TraceType.getBacktrace:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/backtrace/BacktraceData;
putfield org.jruby.RubyException$Backtrace.backtraceData:Lorg/jruby/runtime/backtrace/BacktraceData;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyException;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject getBacktrace();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
getfield org.jruby.RubyException$Backtrace.backtraceObject:Lorg/jruby/runtime/builtin/IRubyObject;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
areturn
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
aload 0
invokevirtual org.jruby.RubyException.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.RubyException$Backtrace.generateBacktrace:(Lorg/jruby/Ruby;)Lorg/jruby/runtime/builtin/IRubyObject;
dup_x1
putfield org.jruby.RubyException$Backtrace.backtraceObject:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyException;
1 3 1 backtraceObject Lorg/jruby/runtime/builtin/IRubyObject;
public static org.jruby.runtime.builtin.IRubyObject retrieveBacktrace(org.jruby.RubyException);
descriptor: (Lorg/jruby/RubyException;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
getfield org.jruby.RubyException$Backtrace.backtraceObject:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 exception Lorg/jruby/RubyException;
MethodParameters:
Name Flags
exception
public void copySpecialInstanceVariables(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.jruby.RubyException
astore 2
start local 2 1: aload 2
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
invokevirtual org.jruby.RubyException$Backtrace.copy:(Lorg/jruby/RubyException$Backtrace;)V
2: aload 2
aload 0
getfield org.jruby.RubyException.message:Lorg/jruby/runtime/builtin/IRubyObject;
putfield org.jruby.RubyException.message:Lorg/jruby/runtime/builtin/IRubyObject;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyException;
0 4 1 clone Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 exception Lorg/jruby/RubyException;
MethodParameters:
Name Flags
clone
public void printBacktrace(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
invokevirtual org.jruby.RubyException.printBacktrace:(Ljava/io/PrintStream;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyException;
0 2 1 errorStream Ljava/io/PrintStream;
MethodParameters:
Name Flags
errorStream
public void printBacktrace(java.io.PrintStream, int);
descriptor: (Ljava/io/PrintStream;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
invokevirtual org.jruby.RubyException.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
ldc "backtrace"
invokevirtual org.jruby.RubyException.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
start local 3 1: aload 3
aload 1
iload 2
invokestatic org.jruby.runtime.backtrace.TraceType.printBacktraceToStream:(Lorg/jruby/runtime/builtin/IRubyObject;Ljava/io/PrintStream;I)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyException;
0 3 1 errorStream Ljava/io/PrintStream;
0 3 2 skip I
1 3 3 trace Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
errorStream
skip
private boolean isArrayOfStrings(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.RubyArray
ifne 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast org.jruby.RubyArray
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: org.jruby.RubyArray int
StackMap stack:
aload 2
iload 3
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
instanceof org.jruby.RubyString
ifne 5
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
invokevirtual org.jruby.RubyArray.getLength:()I
if_icmplt 4
end local 3 7: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/RubyException;
0 8 1 backtrace Lorg/jruby/runtime/builtin/IRubyObject;
2 8 2 rTrace Lorg/jruby/RubyArray;
3 7 3 i I
MethodParameters:
Name Flags
backtrace
public org.jruby.runtime.builtin.IRubyObject getMessage();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyException.message:Lorg/jruby/runtime/builtin/IRubyObject;
ifnonnull 1
aload 0
invokevirtual org.jruby.RubyException.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.jruby.RubyException.message:Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyException;
public void setMessage(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.RubyException.message:Lorg/jruby/runtime/builtin/IRubyObject;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyException;
0 2 1 message Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
message
public java.lang.String getMessageAsJavaString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyException.getMessage:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 1
start local 1 1: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aconst_null
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
2: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyException;
1 4 1 msg Lorg/jruby/runtime/builtin/IRubyObject;
public java.util.List<org.jruby.runtime.builtin.Variable<java.lang.Object>> getVariableList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokespecial org.jruby.RubyObject.getVariableList:()Ljava/util/List;
astore 1
start local 1 1: aload 1
new org.jruby.runtime.component.VariableEntry
dup
ldc "mesg"
aload 0
invokevirtual org.jruby.RubyException.getMessage:()Lorg/jruby/runtime/builtin/IRubyObject;
invokespecial org.jruby.runtime.component.VariableEntry.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 0
invokevirtual org.jruby.RubyException.getBacktrace:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 3: aload 1
new org.jruby.runtime.component.VariableEntry
dup
ldc "bt"
aload 2
invokespecial org.jruby.runtime.component.VariableEntry.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyException;
1 5 1 attrs Ljava/util/List<Lorg/jruby/runtime/builtin/Variable<Ljava/lang/Object;>;>;
3 5 2 backtrace Lorg/jruby/runtime/builtin/IRubyObject;
Signature: ()Ljava/util/List<Lorg/jruby/runtime/builtin/Variable<Ljava/lang/Object;>;>;
public java.util.List<java.lang.String> getVariableNameList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.jruby.RubyObject.getVariableNameList:()Ljava/util/List;
astore 1
start local 1 1: aload 1
ldc "mesg"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 1
ldc "bt"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyException;
1 4 1 names Ljava/util/List<Ljava/lang/String;>;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
public void prepareIntegratedBacktrace(org.jruby.runtime.ThreadContext, java.lang.StackTraceElement[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Ljava/lang/StackTraceElement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
getfield org.jruby.RubyException$Backtrace.backtraceData:Lorg/jruby/runtime/backtrace/BacktraceData;
ifnonnull 2
1: aload 0
getfield org.jruby.RubyException.backtrace:Lorg/jruby/RubyException$Backtrace;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getInstanceConfig:()Lorg/jruby/RubyInstanceConfig;
invokevirtual org.jruby.RubyInstanceConfig.getTraceType:()Lorg/jruby/runtime/backtrace/TraceType;
aload 1
aload 2
invokevirtual org.jruby.runtime.backtrace.TraceType.getIntegratedBacktrace:(Lorg/jruby/runtime/ThreadContext;[Ljava/lang/StackTraceElement;)Lorg/jruby/runtime/backtrace/BacktraceData;
putfield org.jruby.RubyException$Backtrace.backtraceData:Lorg/jruby/runtime/backtrace/BacktraceData;
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyException;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 javaTrace [Ljava/lang/StackTraceElement;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
javaTrace
public org.jruby.runtime.builtin.IRubyObject op_equal(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyException.op_equal:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static org.jruby.runtime.builtin.IRubyObject lambda$0(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.RubyException
dup
aload 0
aload 1
invokespecial org.jruby.RubyException.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 klass Lorg/jruby/RubyClass;
}
SourceFile: "RubyException.java"
NestMembers:
org.jruby.RubyException$1 org.jruby.RubyException$Backtrace
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.jruby.RubyException$1
private Backtrace = org.jruby.RubyException$Backtrace of org.jruby.RubyException
public FlowControlException = org.jruby.exceptions.JumpException$FlowControlException of org.jruby.exceptions.JumpException
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Exception"})