public class org.jruby.NativeException extends org.jruby.RubyException
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.NativeException
super_class: org.jruby.RubyException
{
private final java.lang.Throwable cause;
descriptor: Ljava/lang/Throwable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String messageAsJavaString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final java.lang.String CLASS_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "NativeException"
private static org.jruby.runtime.ObjectAllocator NATIVE_EXCEPTION_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, 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/NativeException.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.NativeException.NATIVE_EXCEPTION_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.lang.Throwable);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aload 3
invokestatic org.jruby.NativeException.buildMessage:(Ljava/lang/Throwable;)Ljava/lang/String;
invokespecial org.jruby.NativeException.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Throwable;Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/NativeException;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 rubyClass Lorg/jruby/RubyClass;
0 2 3 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
runtime
rubyClass
cause
private void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.lang.Throwable, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Throwable;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 4
invokespecial org.jruby.RubyException.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;)V
1: aload 0
aload 3
putfield org.jruby.NativeException.cause:Ljava/lang/Throwable;
2: aload 3
invokestatic org.jruby.NativeException.buildMessage:(Ljava/lang/Throwable;)Ljava/lang/String;
pop
3: aload 0
aload 4
putfield org.jruby.NativeException.messageAsJavaString:Ljava/lang/String;
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/NativeException;
0 5 1 runtime Lorg/jruby/Ruby;
0 5 2 rubyClass Lorg/jruby/RubyClass;
0 5 3 cause Ljava/lang/Throwable;
0 5 4 message Ljava/lang/String;
MethodParameters:
Name Flags
runtime
rubyClass
cause
message
private static java.lang.String buildMessage(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokestatic org.jruby.NativeException.searchStackMessage:(Ljava/lang/Throwable;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
cause
private void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial org.jruby.RubyException.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;)V
1: aload 0
new java.lang.Throwable
dup
invokespecial java.lang.Throwable.<init>:()V
putfield org.jruby.NativeException.cause:Ljava/lang/Throwable;
2: aload 0
aconst_null
putfield org.jruby.NativeException.messageAsJavaString:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/NativeException;
0 4 1 runtime Lorg/jruby/Ruby;
0 4 2 rubyClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
rubyClass
public static org.jruby.RubyClass createClass(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "NativeException"
aload 1
getstatic org.jruby.NativeException.NATIVE_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 2
start local 2 1: aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
aload 0
ldc "NativeException"
invokevirtual org.jruby.RubyClass.deprecateConstant:(Lorg/jruby/Ruby;Ljava/lang/String;)V
2: aload 2
ldc Lorg/jruby/NativeException;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 runtime Lorg/jruby/Ruby;
0 4 1 baseClass Lorg/jruby/RubyClass;
1 4 2 exceptionClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
baseClass
public final org.jruby.runtime.builtin.IRubyObject cause();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.NativeException.getRuntime:()Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.NativeException.getCause:()Ljava/lang/Throwable;
invokestatic org.jruby.javasupport.Java.getInstance:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/NativeException;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
public final org.jruby.runtime.builtin.IRubyObject cause(org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.NativeException.cause:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/NativeException;
0 1 1 unusedBlock Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
unusedBlock
public final org.jruby.runtime.builtin.IRubyObject backtrace();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=8, args_size=1
start local 0 0: aload 0
invokespecial org.jruby.RubyException.backtrace:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 1
start local 1 1: aload 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
aload 1
areturn
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
invokevirtual org.jruby.NativeException.getRuntime:()Lorg/jruby/Ruby;
astore 2
start local 2 3: aload 1
checkcast org.jruby.RubyArray
astore 3
start local 3 4: aload 0
getfield org.jruby.NativeException.cause:Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getStackTrace:()[Ljava/lang/StackTraceElement;
astore 4
start local 4 5: aload 3
invokevirtual org.jruby.RubyArray.size:()I
ifle 12
aload 4
arraylength
ifle 12
6: aload 3
iconst_0
invokevirtual org.jruby.RubyArray.eltInternal:(I)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 5
start local 5 7: aload 4
iconst_0
aaload
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
astore 6
start local 6 8: aload 4
iconst_0
aaload
invokevirtual java.lang.StackTraceElement.getFileName:()Ljava/lang/String;
astore 7
start local 7 9: aload 6
ifnull 12
aload 7
ifnull 12
10: aload 5
aload 6
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 12
aload 5
aload 7
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 12
11: aload 3
areturn
end local 7 end local 6 end local 5 12: StackMap locals: org.jruby.Ruby org.jruby.RubyArray java.lang.StackTraceElement[]
StackMap stack:
aload 2
aload 3
aload 4
invokestatic org.jruby.NativeException.joinedBacktrace:(Lorg/jruby/Ruby;Lorg/jruby/RubyArray;[Ljava/lang/StackTraceElement;)Lorg/jruby/RubyArray;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/NativeException;
1 13 1 rubyTrace Lorg/jruby/runtime/builtin/IRubyObject;
3 13 2 runtime Lorg/jruby/Ruby;
4 13 3 rTrace Lorg/jruby/RubyArray;
5 13 4 jTrace [Ljava/lang/StackTraceElement;
7 12 5 r0 Ljava/lang/String;
8 12 6 method Ljava/lang/String;
9 12 7 file Ljava/lang/String;
private static org.jruby.RubyArray joinedBacktrace(org.jruby.Ruby, org.jruby.RubyArray, java.lang.StackTraceElement[]);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyArray;[Ljava/lang/StackTraceElement;)Lorg/jruby/RubyArray;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
aload 1
invokevirtual org.jruby.RubyArray.size:()I
iadd
anewarray org.jruby.runtime.builtin.IRubyObject
astore 3
start local 3 1: new java.lang.StringBuilder
dup
bipush 32
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: goto 17
4: StackMap locals: org.jruby.runtime.builtin.IRubyObject[] java.lang.StringBuilder int
StackMap stack:
aload 2
iload 5
aaload
astore 6
start local 6 5: aload 6
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
astore 7
start local 7 6: aload 4
iconst_0
invokevirtual java.lang.StringBuilder.setLength:(I)V
7: aload 6
invokevirtual java.lang.StackTraceElement.getFileName:()Ljava/lang/String;
ifnonnull 10
8: aload 4
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StackTraceElement.getLineNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ":in `"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: goto 15
10: StackMap locals: java.lang.StackTraceElement java.lang.String
StackMap stack:
aload 7
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 8
start local 8 11: iload 8
iconst_m1
if_icmple 14
12: aload 4
aload 7
iconst_0
iload 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 4
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: StackMap locals: int
StackMap stack:
aload 4
aload 6
invokevirtual java.lang.StackTraceElement.getFileName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 58
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StackTraceElement.getLineNumber:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ":in `"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 8 15: StackMap locals:
StackMap stack:
aload 3
iload 5
aload 0
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.jruby.RubyString.newString:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
aastore
end local 7 end local 6 16: iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
aload 2
arraylength
if_icmplt 4
end local 5 18: aload 1
invokevirtual org.jruby.RubyArray.toJavaArrayMaybeUnsafe:()[Lorg/jruby/runtime/builtin/IRubyObject;
iconst_0
aload 3
aload 2
arraylength
aload 1
invokevirtual org.jruby.RubyArray.size:()I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
19: aload 0
aload 3
invokestatic org.jruby.RubyArray.newArrayMayCopy:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 runtime Lorg/jruby/Ruby;
0 20 1 rTrace Lorg/jruby/RubyArray;
0 20 2 jTrace [Ljava/lang/StackTraceElement;
1 20 3 trace [Lorg/jruby/runtime/builtin/IRubyObject;
2 20 4 line Ljava/lang/StringBuilder;
3 18 5 i I
5 16 6 element Ljava/lang/StackTraceElement;
6 16 7 className Ljava/lang/String;
11 15 8 index I
MethodParameters:
Name Flags
runtime final
rTrace final
jTrace final
public void trimStackTrace(java.lang.reflect.Member);
descriptor: (Ljava/lang/reflect/Member;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: new java.lang.Throwable
dup
invokespecial java.lang.Throwable.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.jruby.NativeException.cause:Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getStackTrace:()[Ljava/lang/StackTraceElement;
astore 3
start local 3 2: aload 2
invokevirtual java.lang.Throwable.getStackTrace:()[Ljava/lang/StackTraceElement;
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: iconst_1
istore 6
start local 6 5: goto 11
6: StackMap locals: org.jruby.NativeException java.lang.reflect.Member java.lang.Throwable java.lang.StackTraceElement[] java.lang.StackTraceElement[] int int
StackMap stack:
aload 3
aload 3
arraylength
iload 6
isub
aaload
astore 7
start local 7 7: aload 4
aload 4
arraylength
iload 6
isub
aaload
astore 8
start local 8 8: aload 7
aload 8
invokevirtual java.lang.StackTraceElement.equals:(Ljava/lang/Object;)Z
ifeq 13
9: iinc 5 1
end local 8 end local 7 10: iinc 6 1
11: StackMap locals:
StackMap stack:
iload 6
aload 3
arraylength
if_icmpgt 13
iload 6
aload 4
arraylength
12: if_icmple 6
end local 6 13: StackMap locals:
StackMap stack:
aload 1
ifnull 25
14: aload 1
invokeinterface java.lang.reflect.Member.getDeclaringClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 6
start local 6 15: aload 1
invokeinterface java.lang.reflect.Member.getName:()Ljava/lang/String;
astore 7
start local 7 16: aload 3
arraylength
iload 5
isub
iconst_1
isub
istore 8
start local 8 17: goto 24
18: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 3
iload 8
aaload
astore 9
start local 9 19: aload 9
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
20: aload 9
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: aload 3
arraylength
iload 8
isub
iconst_1
isub
istore 5
22: goto 25
end local 9 23: StackMap locals:
StackMap stack:
iinc 8 -1
StackMap locals:
StackMap stack:
24: iload 8
ifge 18
end local 8 end local 7 end local 6 25: StackMap locals:
StackMap stack:
iload 5
ifle 30
26: aload 3
arraylength
iload 5
isub
istore 6
start local 6 27: iload 6
anewarray java.lang.StackTraceElement
astore 7
start local 7 28: aload 3
iconst_0
aload 7
iconst_0
iload 6
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
29: aload 0
getfield org.jruby.NativeException.cause:Ljava/lang/Throwable;
aload 7
invokevirtual java.lang.Throwable.setStackTrace:([Ljava/lang/StackTraceElement;)V
end local 7 end local 6 30: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/jruby/NativeException;
0 31 1 target Ljava/lang/reflect/Member;
1 31 2 t Ljava/lang/Throwable;
2 31 3 origStackTrace [Ljava/lang/StackTraceElement;
3 31 4 currentStackTrace [Ljava/lang/StackTraceElement;
4 31 5 skip I
5 13 6 i I
7 10 7 a Ljava/lang/StackTraceElement;
8 10 8 b Ljava/lang/StackTraceElement;
15 25 6 className Ljava/lang/String;
16 25 7 methodName Ljava/lang/String;
17 25 8 i I
19 23 9 frame Ljava/lang/StackTraceElement;
27 30 6 len I
28 30 7 newStackTrace [Ljava/lang/StackTraceElement;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
target
public final org.jruby.runtime.builtin.IRubyObject getMessage();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.NativeException.message:Lorg/jruby/runtime/builtin/IRubyObject;
ifnonnull 4
1: aload 0
getfield org.jruby.NativeException.messageAsJavaString:Ljava/lang/String;
ifnonnull 3
2: aload 0
aload 0
invokevirtual org.jruby.NativeException.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
dup_x1
putfield org.jruby.NativeException.message:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
3: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual org.jruby.NativeException.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.NativeException.messageAsJavaString:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
dup_x1
putfield org.jruby.NativeException.message:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.NativeException.message:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/NativeException;
public final java.lang.String getMessageAsJavaString();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.NativeException.messageAsJavaString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/NativeException;
public final java.lang.Throwable getCause();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.NativeException.cause:Ljava/lang/Throwable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/NativeException;
private static java.lang.String searchStackMessage(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
areturn
2: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual java.lang.Throwable.getCause:()Ljava/lang/Throwable;
astore 0
3: aload 0
ifnonnull 0
4: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 cause Ljava/lang/Throwable;
1 5 1 message Ljava/lang/String;
MethodParameters:
Name Flags
cause
public java.lang.Object getCause();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.jruby.NativeException.getCause:()Ljava/lang/Throwable;
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.NativeException
dup
aload 0
aload 1
invokespecial org.jruby.NativeException.<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 klazz Lorg/jruby/RubyClass;
}
SourceFile: "NativeException.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeVisibleAnnotations:
java.lang.Deprecated()
org.jruby.anno.JRubyClass(name = {"NativeException"}, parent = "RuntimeError")