public final class com.oracle.truffle.js.runtime.UserScriptException extends com.oracle.truffle.js.runtime.GraalJSException
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.UserScriptException
super_class: com.oracle.truffle.js.runtime.GraalJSException
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -6624166672101791072
final java.lang.Object exceptionObject;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
private void <init>(java.lang.Object, com.oracle.truffle.api.nodes.Node, int);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokestatic com.oracle.truffle.js.runtime.UserScriptException.getMessage:(Ljava/lang/Object;)Ljava/lang/String;
aload 2
iload 3
invokespecial com.oracle.truffle.js.runtime.GraalJSException.<init>:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/Node;I)V
1: aload 0
aload 1
putfield com.oracle.truffle.js.runtime.UserScriptException.exceptionObject:Ljava/lang/Object;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/UserScriptException;
0 3 1 exceptionObject Ljava/lang/Object;
0 3 2 originatingNode Lcom/oracle/truffle/api/nodes/Node;
0 3 3 stackTraceLimit I
MethodParameters:
Name Flags
exceptionObject
originatingNode
stackTraceLimit
private void <init>(java.lang.Throwable, com.oracle.truffle.api.nodes.Node, int);
descriptor: (Ljava/lang/Throwable;Lcom/oracle/truffle/api/nodes/Node;I)V
flags: (0x0002) ACC_PRIVATE
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
invokevirtual java.lang.Throwable.toString:()Ljava/lang/String;
aload 1
aload 2
iload 3
invokespecial com.oracle.truffle.js.runtime.GraalJSException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Lcom/oracle/truffle/api/nodes/Node;I)V
1: aload 0
aload 1
putfield com.oracle.truffle.js.runtime.UserScriptException.exceptionObject:Ljava/lang/Object;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/UserScriptException;
0 3 1 exception Ljava/lang/Throwable;
0 3 2 originatingNode Lcom/oracle/truffle/api/nodes/Node;
0 3 3 stackTraceLimit I
MethodParameters:
Name Flags
exception
originatingNode
stackTraceLimit
public static com.oracle.truffle.js.runtime.UserScriptException createCapture(java.lang.Object, com.oracle.truffle.api.nodes.Node, int, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;ILcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/UserScriptException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.oracle.truffle.js.runtime.UserScriptException
dup
aload 0
aload 1
iload 2
invokespecial com.oracle.truffle.js.runtime.UserScriptException.<init>:(Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;I)V
aload 3
iconst_1
invokestatic com.oracle.truffle.js.runtime.UserScriptException.fillInStackTrace:(Lcom/oracle/truffle/js/runtime/GraalJSException;Lcom/oracle/truffle/api/object/DynamicObject;Z)Lcom/oracle/truffle/js/runtime/GraalJSException;
checkcast com.oracle.truffle.js.runtime.UserScriptException
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 exceptionObject Ljava/lang/Object;
0 1 1 originatingNode Lcom/oracle/truffle/api/nodes/Node;
0 1 2 stackTraceLimit I
0 1 3 skipFramesUpTo Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
exceptionObject
originatingNode
stackTraceLimit
skipFramesUpTo
public static com.oracle.truffle.js.runtime.UserScriptException create(java.lang.Object, com.oracle.truffle.api.nodes.Node, int);
descriptor: (Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;I)Lcom/oracle/truffle/js/runtime/UserScriptException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.oracle.truffle.js.runtime.UserScriptException
dup
aload 0
aload 1
iload 2
invokespecial com.oracle.truffle.js.runtime.UserScriptException.<init>:(Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;I)V
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
iconst_0
invokestatic com.oracle.truffle.js.runtime.UserScriptException.fillInStackTrace:(Lcom/oracle/truffle/js/runtime/GraalJSException;Lcom/oracle/truffle/api/object/DynamicObject;Z)Lcom/oracle/truffle/js/runtime/GraalJSException;
checkcast com.oracle.truffle.js.runtime.UserScriptException
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 exceptionObject Ljava/lang/Object;
0 1 1 originatingNode Lcom/oracle/truffle/api/nodes/Node;
0 1 2 stackTraceLimit I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
exceptionObject
originatingNode
stackTraceLimit
public static com.oracle.truffle.js.runtime.UserScriptException create(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lcom/oracle/truffle/js/runtime/UserScriptException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic com.oracle.truffle.js.lang.JavaScriptLanguage.getCurrentJSRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
invokevirtual com.oracle.truffle.js.runtime.JSContext.getContextOptions:()Lcom/oracle/truffle/js/runtime/JSContextOptions;
invokevirtual com.oracle.truffle.js.runtime.JSContextOptions.getStackTraceLimit:()I
istore 1
start local 1 1: aload 0
aconst_null
iload 1
invokestatic com.oracle.truffle.js.runtime.UserScriptException.create:(Ljava/lang/Object;Lcom/oracle/truffle/api/nodes/Node;I)Lcom/oracle/truffle/js/runtime/UserScriptException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 exceptionObject Ljava/lang/Object;
1 2 1 stackTraceLimit I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
exceptionObject
public java.lang.Object getErrorObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.UserScriptException.exceptionObject:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/UserScriptException;
public boolean isException();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/UserScriptException;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
public java.lang.RuntimeException throwException();
descriptor: ()Ljava/lang/RuntimeException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/UserScriptException;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
public com.oracle.truffle.api.interop.ExceptionType getExceptionType();
descriptor: ()Lcom/oracle/truffle/api/interop/ExceptionType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.interop.ExceptionType.RUNTIME_ERROR:Lcom/oracle/truffle/api/interop/ExceptionType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/UserScriptException;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
private static java.lang.String getMessage(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isObject:(Ljava/lang/Object;)Z
ifeq 12
1: aload 0
checkcast com.oracle.truffle.api.object.DynamicObject
astore 1
start local 1 2: aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 2
start local 2 3: aload 2
getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 12
4: aload 2
ldc "constructor"
aconst_null
invokestatic com.oracle.truffle.js.runtime.objects.JSDynamicObject.getOrDefault:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 5: aload 3
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isJSFunction:(Ljava/lang/Object;)Z
ifeq 12
6: aload 3
checkcast com.oracle.truffle.api.object.DynamicObject
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getName:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
astore 4
start local 4 7: aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifne 12
8: aload 1
ldc "message"
aconst_null
invokestatic com.oracle.truffle.js.runtime.objects.JSDynamicObject.getOrDefault:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 9: aload 5
invokestatic com.oracle.truffle.js.runtime.JSRuntime.isString:(Ljava/lang/Object;)Z
ifeq 11
10: new java.lang.StringBuilder
dup
aload 4
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 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
11: StackMap locals: java.lang.Object com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.api.object.DynamicObject java.lang.Object java.lang.String java.lang.Object
StackMap stack:
aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 12: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokestatic com.oracle.truffle.js.runtime.JSRuntime.safeToString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 exc Ljava/lang/Object;
2 12 1 errorObj Lcom/oracle/truffle/api/object/DynamicObject;
3 12 2 prototype Lcom/oracle/truffle/api/object/DynamicObject;
5 12 3 constructor Ljava/lang/Object;
7 12 4 name Ljava/lang/String;
9 12 5 message Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
exc
}
SourceFile: "UserScriptException.java"
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;, delegateTo = "exceptionObject")
RuntimeInvisibleAnnotations:
com.oracle.truffle.api.dsl.ImportStatic(value = {Lcom/oracle/truffle/js/runtime/JSConfig;})