public class org.jruby.exceptions.RaiseException extends org.jruby.exceptions.JumpException
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.exceptions.RaiseException
super_class: org.jruby.exceptions.JumpException
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7612079169559973951
private org.jruby.RubyException exception;
descriptor: Lorg/jruby/RubyException;
flags: (0x0002) ACC_PRIVATE
private java.lang.String providedMessage;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
protected void <init>(java.lang.String, org.jruby.RubyException);
descriptor: (Ljava/lang/String;Lorg/jruby/RubyException;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.jruby.exceptions.JumpException.<init>:(Ljava/lang/String;)V
1: aload 0
aload 2
invokevirtual org.jruby.exceptions.RaiseException.setException:(Lorg/jruby/RubyException;)V
2: aload 0
aload 2
invokevirtual org.jruby.RubyException.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 2
invokestatic org.jruby.RubyException.retrieveBacktrace:(Lorg/jruby/RubyException;)Lorg/jruby/runtime/builtin/IRubyObject;
iconst_1
invokevirtual org.jruby.exceptions.RaiseException.preRaise:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/exceptions/RaiseException;
0 4 1 message Ljava/lang/String;
0 4 2 exception Lorg/jruby/RubyException;
MethodParameters:
Name Flags
message
exception
public final java.lang.Throwable fillInStackTrace();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/exceptions/RaiseException;
public static org.jruby.exceptions.RaiseException from(org.jruby.RubyException, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/RubyException;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/exceptions/RaiseException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.exceptions.RaiseException
dup
aload 0
aload 1
invokespecial org.jruby.exceptions.RaiseException.<init>:(Lorg/jruby/RubyException;Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 exception Lorg/jruby/RubyException;
0 1 1 backtrace Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
exception
backtrace
public static org.jruby.exceptions.RaiseException from(org.jruby.Ruby, org.jruby.RubyClass, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
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
invokestatic org.jruby.RubyException.newException:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/RubyException;
invokevirtual org.jruby.RubyException.toThrowable:()Lorg/jruby/exceptions/RaiseException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 exceptionClass Lorg/jruby/RubyClass;
0 1 2 msg Ljava/lang/String;
MethodParameters:
Name Flags
runtime
exceptionClass
msg
public static org.jruby.exceptions.RaiseException from(org.jruby.Ruby, org.jruby.RubyClass, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/exceptions/RaiseException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic org.jruby.RubyException.newException:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/RubyException;
astore 4
start local 4 1: aload 4
aload 3
invokevirtual org.jruby.RubyException.setBacktrace:(Lorg/jruby/runtime/builtin/IRubyObject;)V
2: aload 4
invokevirtual org.jruby.RubyException.toThrowable:()Lorg/jruby/exceptions/RaiseException;
areturn
end local 4 end local 3 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;
0 3 3 backtrace Lorg/jruby/runtime/builtin/IRubyObject;
1 3 4 exception Lorg/jruby/RubyException;
MethodParameters:
Name Flags
runtime
exceptionClass
msg
backtrace
public java.lang.String getMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.exceptions.RaiseException.providedMessage:Ljava/lang/String;
ifnonnull 2
1: aload 0
new java.lang.StringBuilder
dup
bipush 40
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
invokevirtual org.jruby.RubyException.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getBaseName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
invokevirtual org.jruby.RubyException.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.RubyException.message:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.jruby.exceptions.RaiseException.providedMessage:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.exceptions.RaiseException.providedMessage:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/exceptions/RaiseException;
public final org.jruby.RubyException getException();
descriptor: ()Lorg/jruby/RubyException;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/exceptions/RaiseException;
private void preRaise(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.incrementExceptionCount:()V
1: getstatic org.jruby.RubyInstanceConfig.LOG_EXCEPTIONS:Z
ifeq 2
aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
invokestatic org.jruby.runtime.backtrace.TraceType.logException:(Lorg/jruby/RubyException;)V
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.jruby.exceptions.RaiseException.doSetLastError:(Lorg/jruby/runtime/ThreadContext;)V
3: aload 1
invokestatic org.jruby.exceptions.RaiseException.doCallEventHook:(Lorg/jruby/runtime/ThreadContext;)V
4: aload 2
ifnonnull 9
5: iload 3
ifeq 13
6: aload 0
aload 1
invokevirtual org.jruby.exceptions.RaiseException.requiresBacktrace:(Lorg/jruby/runtime/ThreadContext;)Z
ifeq 7
aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
aload 1
invokevirtual org.jruby.RubyException.captureBacktrace:(Lorg/jruby/runtime/ThreadContext;)V
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.exceptions.RaiseException.setStackTraceFromException:()V
8: goto 13
9: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
aload 2
invokevirtual org.jruby.RubyException.setBacktrace:(Lorg/jruby/runtime/builtin/IRubyObject;)V
10: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 12
aload 2
invokestatic org.jruby.exceptions.RaiseException.isEmptyArray:(Lorg/jruby/runtime/builtin/IRubyObject;)Z
ifne 12
11: aload 0
aload 1
invokevirtual org.jruby.exceptions.RaiseException.requiresBacktrace:(Lorg/jruby/runtime/ThreadContext;)Z
ifeq 12
aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
aload 1
invokevirtual org.jruby.RubyException.captureBacktrace:(Lorg/jruby/runtime/ThreadContext;)V
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.exceptions.RaiseException.setStackTraceFromException:()V
13: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/jruby/exceptions/RaiseException;
0 14 1 context Lorg/jruby/runtime/ThreadContext;
0 14 2 backtrace Lorg/jruby/runtime/builtin/IRubyObject;
0 14 3 capture Z
MethodParameters:
Name Flags
context
backtrace
capture
private void setStackTraceFromException();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
invokevirtual org.jruby.RubyException.getBacktraceElements:()[Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
astore 1
start local 1 1: aload 1
arraylength
iconst_5
if_icmple 9
ldc "getStackTrace"
aload 1
iconst_0
aaload
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
2: iconst_0
istore 2
start local 2 3: ldc "preRaise"
aload 1
iconst_4
aaload
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: iconst_5
istore 2
5: goto 8
StackMap locals: org.jruby.runtime.backtrace.RubyStackTraceElement[] int
StackMap stack:
6: ldc "preRaise"
aload 1
iconst_3
aaload
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_4
istore 2
8: StackMap locals:
StackMap stack:
aload 1
iload 2
aload 1
arraylength
invokestatic java.util.Arrays.copyOfRange:([Ljava/lang/Object;II)[Ljava/lang/Object;
checkcast org.jruby.runtime.backtrace.RubyStackTraceElement[]
astore 1
end local 2 9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokestatic org.jruby.exceptions.RaiseException.javaTraceFromRubyTrace:([Lorg/jruby/runtime/backtrace/RubyStackTraceElement;)[Ljava/lang/StackTraceElement;
invokevirtual org.jruby.exceptions.RaiseException.setStackTrace:([Ljava/lang/StackTraceElement;)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/exceptions/RaiseException;
1 11 1 rubyTrace [Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
3 9 2 skip I
private java.lang.StackTraceElement[] skipFillInStackTracePart(java.lang.StackTraceElement[]);
descriptor: ([Ljava/lang/StackTraceElement;)[Ljava/lang/StackTraceElement;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
arraylength
istore 2
start local 2 1: iload 2
iconst_3
if_icmplt 12
2: iconst_0
istore 3
start local 3 3: ldc "preRaise"
aload 1
iconst_2
aaload
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: iconst_3
istore 3
5: goto 11
StackMap locals: int int
StackMap stack:
6: ldc "preRaise"
aload 1
iconst_1
aaload
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: iconst_2
istore 3
8: goto 11
StackMap locals:
StackMap stack:
9: ldc "fillInStackTrace"
aload 1
iconst_2
aaload
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
10: iconst_3
istore 3
11: StackMap locals:
StackMap stack:
aload 1
iload 3
iload 2
invokestatic java.util.Arrays.copyOfRange:([Ljava/lang/Object;II)[Ljava/lang/Object;
checkcast java.lang.StackTraceElement[]
areturn
end local 3 12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/exceptions/RaiseException;
0 13 1 trace [Ljava/lang/StackTraceElement;
1 13 2 len I
3 12 3 skip I
MethodParameters:
Name Flags
trace
private void fillInStackTraceSkipPreRaise();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.exceptions.RaiseException.originalFillInStackTrace:()Ljava/lang/Throwable;
pop
1: aload 0
invokevirtual org.jruby.exceptions.RaiseException.getStackTrace:()[Ljava/lang/StackTraceElement;
astore 1
start local 1 2: aload 0
aload 1
invokevirtual org.jruby.exceptions.RaiseException.skipFillInStackTracePart:([Ljava/lang/StackTraceElement;)[Ljava/lang/StackTraceElement;
astore 2
start local 2 3: aload 2
aload 1
if_acmpeq 4
aload 0
aload 2
invokevirtual org.jruby.exceptions.RaiseException.setStackTrace:([Ljava/lang/StackTraceElement;)V
4: StackMap locals: java.lang.StackTraceElement[] java.lang.StackTraceElement[]
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/exceptions/RaiseException;
2 5 1 curTrace [Ljava/lang/StackTraceElement;
3 5 2 newTrace [Ljava/lang/StackTraceElement;
private static void doCallEventHook(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.hasEventHooks:()Z
ifeq 2
1: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
getstatic org.jruby.runtime.RubyEvent.RAISE:Lorg/jruby/runtime/RubyEvent;
aload 0
invokevirtual org.jruby.runtime.ThreadContext.getFile:()Ljava/lang/String;
aload 0
invokevirtual org.jruby.runtime.ThreadContext.getLine:()I
aload 0
invokevirtual org.jruby.runtime.ThreadContext.getFrameName:()Ljava/lang/String;
aload 0
invokevirtual org.jruby.runtime.ThreadContext.getFrameKlazz:()Lorg/jruby/RubyModule;
invokevirtual org.jruby.Ruby.callEventHooks:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/RubyEvent;Ljava/lang/String;ILjava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context final
private void doSetLastError(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
invokevirtual org.jruby.runtime.ThreadContext.setErrorInfo:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/exceptions/RaiseException;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context final
protected final void setException(org.jruby.RubyException);
descriptor: (Lorg/jruby/RubyException;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/exceptions/RaiseException;
0 2 1 newException Lorg/jruby/RubyException;
MethodParameters:
Name Flags
newException
public static java.lang.StackTraceElement[] javaTraceFromRubyTrace(org.jruby.runtime.backtrace.RubyStackTraceElement[]);
descriptor: ([Lorg/jruby/runtime/backtrace/RubyStackTraceElement;)[Ljava/lang/StackTraceElement;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray java.lang.StackTraceElement
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.StackTraceElement[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
aaload
invokevirtual org.jruby.runtime.backtrace.RubyStackTraceElement.asStackTraceElement:()Ljava/lang/StackTraceElement;
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 trace [Lorg/jruby/runtime/backtrace/RubyStackTraceElement;
1 7 1 newTrace [Ljava/lang/StackTraceElement;
2 6 2 i I
MethodParameters:
Name Flags
trace
public static org.jruby.exceptions.RaiseException createNativeRaiseException(org.jruby.Ruby, java.lang.Throwable);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Throwable;)Lorg/jruby/exceptions/RaiseException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokestatic org.jruby.exceptions.RaiseException.createNativeRaiseException:(Lorg/jruby/Ruby;Ljava/lang/Throwable;Ljava/lang/reflect/Member;)Lorg/jruby/exceptions/RaiseException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 cause Ljava/lang/Throwable;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
cause
public static org.jruby.exceptions.RaiseException createNativeRaiseException(org.jruby.Ruby, java.lang.Throwable, java.lang.reflect.Member);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/Throwable;Ljava/lang/reflect/Member;)Lorg/jruby/exceptions/RaiseException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.jruby.NativeException
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getNativeException:()Lorg/jruby/RubyClass;
aload 1
invokespecial org.jruby.NativeException.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/Throwable;)V
astore 3
start local 3 1: new org.jruby.exceptions.RaiseException
dup
aload 1
aload 3
invokespecial org.jruby.exceptions.RaiseException.<init>:(Ljava/lang/Throwable;Lorg/jruby/NativeException;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 runtime Lorg/jruby/Ruby;
0 2 1 cause Ljava/lang/Throwable;
0 2 2 target Ljava/lang/reflect/Member;
1 2 3 nativeException Lorg/jruby/NativeException;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
cause
target
public void <init>(java.lang.Throwable, org.jruby.NativeException);
descriptor: (Ljava/lang/Throwable;Lorg/jruby/NativeException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.jruby.NativeException.getMessageAsJavaString:()Ljava/lang/String;
aload 1
invokespecial org.jruby.exceptions.JumpException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
1: aload 0
aload 0
invokespecial org.jruby.exceptions.JumpException.getMessage:()Ljava/lang/String;
putfield org.jruby.exceptions.RaiseException.providedMessage:Ljava/lang/String;
2: aload 0
aload 2
invokevirtual org.jruby.exceptions.RaiseException.setException:(Lorg/jruby/RubyException;)V
3: aload 0
aload 2
invokevirtual org.jruby.NativeException.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 2
invokevirtual org.jruby.NativeException.getCause:()Ljava/lang/Throwable;
invokevirtual java.lang.Throwable.getStackTrace:()[Ljava/lang/StackTraceElement;
invokevirtual org.jruby.exceptions.RaiseException.preRaise:(Lorg/jruby/runtime/ThreadContext;[Ljava/lang/StackTraceElement;)V
4: aload 0
invokevirtual org.jruby.exceptions.RaiseException.setStackTraceFromException:()V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/exceptions/RaiseException;
0 6 1 cause Ljava/lang/Throwable;
0 6 2 nativeException Lorg/jruby/NativeException;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
cause
nativeException
public void <init>(org.jruby.RubyException);
descriptor: (Lorg/jruby/RubyException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.RubyException.getMessageAsJavaString:()Ljava/lang/String;
aload 1
invokespecial org.jruby.exceptions.RaiseException.<init>:(Ljava/lang/String;Lorg/jruby/RubyException;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/exceptions/RaiseException;
0 2 1 exception Lorg/jruby/RubyException;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
exception
public void <init>(org.jruby.RubyException, boolean);
descriptor: (Lorg/jruby/RubyException;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.jruby.RubyException.getMessageAsJavaString:()Ljava/lang/String;
aload 1
invokespecial org.jruby.exceptions.RaiseException.<init>:(Ljava/lang/String;Lorg/jruby/RubyException;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/exceptions/RaiseException;
0 2 1 exception Lorg/jruby/RubyException;
0 2 2 unused Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
exception
unused
public void <init>(org.jruby.RubyException, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/RubyException;Lorg/jruby/runtime/builtin/IRubyObject;)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
aload 1
invokevirtual org.jruby.RubyException.getMessageAsJavaString:()Ljava/lang/String;
invokespecial org.jruby.exceptions.JumpException.<init>:(Ljava/lang/String;)V
1: aload 0
aload 1
invokevirtual org.jruby.exceptions.RaiseException.setException:(Lorg/jruby/RubyException;)V
2: aload 0
aload 1
invokevirtual org.jruby.RubyException.getRuntime:()Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 2
iconst_1
invokevirtual org.jruby.exceptions.RaiseException.preRaise:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/exceptions/RaiseException;
0 4 1 exception Lorg/jruby/RubyException;
0 4 2 backtrace Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
exception
backtrace
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=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
aconst_null
invokespecial org.jruby.exceptions.RaiseException.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)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/exceptions/RaiseException;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 exceptionClass Lorg/jruby/RubyClass;
0 2 3 msg Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
exceptionClass
msg
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.lang.String, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, 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 3
aconst_null
invokespecial org.jruby.exceptions.RaiseException.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/exceptions/RaiseException;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 exceptionClass Lorg/jruby/RubyClass;
0 2 3 msg Ljava/lang/String;
0 2 4 unused Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
exceptionClass
msg
unused
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 3
ifnonnull 1
ldc "No message available"
dup
astore 3
goto 2
StackMap locals:
StackMap stack: uninitialized-this
1: aload 3
StackMap locals: uninitialized-this org.jruby.Ruby org.jruby.RubyClass java.lang.String org.jruby.runtime.builtin.IRubyObject
StackMap stack: uninitialized-this java.lang.String
2: invokespecial org.jruby.exceptions.JumpException.<init>:(Ljava/lang/String;)V
3: aload 0
new java.lang.StringBuilder
dup
bipush 40
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual org.jruby.RubyClass.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield org.jruby.exceptions.RaiseException.providedMessage:Ljava/lang/String;
4: aload 1
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 5
start local 5 5: aload 0
aload 5
aload 2
aload 1
aload 3
invokestatic org.jruby.RubyString.newUnicodeString:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/RubyString;
invokestatic org.jruby.RubyException.newException:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyClass;Lorg/jruby/RubyString;)Lorg/jruby/RubyException;
invokevirtual org.jruby.exceptions.RaiseException.setException:(Lorg/jruby/RubyException;)V
6: aload 0
aload 5
aload 4
iconst_1
invokevirtual org.jruby.exceptions.RaiseException.preRaise:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
7: 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 8 0 this Lorg/jruby/exceptions/RaiseException;
0 8 1 runtime Lorg/jruby/Ruby;
0 8 2 exceptionClass Lorg/jruby/RubyClass;
0 8 3 msg Ljava/lang/String;
0 8 4 backtrace Lorg/jruby/runtime/builtin/IRubyObject;
5 8 5 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
exceptionClass
msg
backtrace
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, java.lang.String, org.jruby.runtime.builtin.IRubyObject, boolean);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.jruby.exceptions.RaiseException.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: 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 2 0 this Lorg/jruby/exceptions/RaiseException;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 exceptionClass Lorg/jruby/RubyClass;
0 2 3 msg Ljava/lang/String;
0 2 4 backtrace Lorg/jruby/runtime/builtin/IRubyObject;
0 2 5 unused Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
exceptionClass
msg
backtrace
unused
protected final void setException(org.jruby.RubyException, boolean);
descriptor: (Lorg/jruby/RubyException;Z)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/exceptions/RaiseException;
0 2 1 newException Lorg/jruby/RubyException;
0 2 2 unused Z
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
newException
unused
private void preRaise(org.jruby.runtime.ThreadContext, java.lang.StackTraceElement[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Ljava/lang/StackTraceElement;)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
aconst_null
iconst_0
invokevirtual org.jruby.exceptions.RaiseException.preRaise:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Z)V
1: aload 0
aload 1
invokevirtual org.jruby.exceptions.RaiseException.requiresBacktrace:(Lorg/jruby/runtime/ThreadContext;)Z
ifeq 5
2: aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
aload 1
aload 2
invokevirtual org.jruby.RubyException.prepareIntegratedBacktrace:(Lorg/jruby/runtime/ThreadContext;[Ljava/lang/StackTraceElement;)V
3: aload 0
invokevirtual org.jruby.exceptions.RaiseException.setStackTraceFromException:()V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 2
invokevirtual org.jruby.exceptions.RaiseException.skipFillInStackTracePart:([Ljava/lang/StackTraceElement;)[Ljava/lang/StackTraceElement;
invokevirtual org.jruby.exceptions.RaiseException.setStackTrace:([Ljava/lang/StackTraceElement;)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/exceptions/RaiseException;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 javaTrace [Ljava/lang/StackTraceElement;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
javaTrace
private boolean requiresBacktrace(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.exceptionRequiresBacktrace:Z
ifne 1
aload 0
getfield org.jruby.exceptions.RaiseException.exception:Lorg/jruby/RubyException;
instanceof org.jruby.RubyStandardError
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/exceptions/RaiseException;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
private static boolean isEmptyArray(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.jruby.RubyArray
ifeq 1
aload 0
checkcast org.jruby.RubyArray
invokevirtual org.jruby.RubyArray.size:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ary Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
ary final
private static org.jruby.runtime.JavaSites$RaiseExceptionSites sites(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$RaiseExceptionSites;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.sites:Lorg/jruby/runtime/JavaSites;
getfield org.jruby.runtime.JavaSites.RaiseException:Lorg/jruby/runtime/JavaSites$RaiseExceptionSites;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
}
SourceFile: "RaiseException.java"
InnerClasses:
public RaiseExceptionSites = org.jruby.runtime.JavaSites$RaiseExceptionSites of org.jruby.runtime.JavaSites