public final class jdk.nashorn.internal.runtime.ECMAErrors
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.ECMAErrors
super_class: java.lang.Object
{
private static final java.lang.String MESSAGES_RESOURCE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "jdk.nashorn.internal.runtime.resources.Messages"
private static final java.util.ResourceBundle MESSAGES_BUNDLE;
descriptor: Ljava/util/ResourceBundle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String scriptPackage;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$jdk$nashorn$internal$runtime$JSErrorType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/ECMAErrors;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.internal.runtime.ECMAErrors.$assertionsDisabled:Z
3: ldc "jdk.nashorn.internal.runtime.resources.Messages"
invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokestatic java.util.ResourceBundle.getBundle:(Ljava/lang/String;Ljava/util/Locale;)Ljava/util/ResourceBundle;
putstatic jdk.nashorn.internal.runtime.ECMAErrors.MESSAGES_BUNDLE:Ljava/util/ResourceBundle;
4: ldc Ljdk/nashorn/internal/scripts/JS;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 0
start local 0 5: aload 0
iconst_0
aload 0
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putstatic jdk.nashorn.internal.runtime.ECMAErrors.scriptPackage:Ljava/lang/String;
end local 0 6: return
LocalVariableTable:
Start End Slot Name Signature
5 6 0 name Ljava/lang/String;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/ECMAErrors;
private static jdk.nashorn.internal.runtime.ECMAException error(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.nashorn.internal.runtime.ECMAException
dup
aload 0
aload 1
invokespecial jdk.nashorn.internal.runtime.ECMAException.<init>:(Ljava/lang/Object;Ljava/lang/Throwable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 thrown Ljava/lang/Object;
0 1 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
thrown final
cause final
public static jdk.nashorn.internal.runtime.ECMAException asEcmaException(jdk.nashorn.internal.runtime.ParserException);
descriptor: (Ljdk/nashorn/internal/runtime/ParserException;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.asEcmaException:(Ljdk/nashorn/internal/objects/Global;Ljdk/nashorn/internal/runtime/ParserException;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 e Ljdk/nashorn/internal/runtime/ParserException;
MethodParameters:
Name Flags
e final
public static jdk.nashorn.internal.runtime.ECMAException asEcmaException(jdk.nashorn.internal.objects.Global, jdk.nashorn.internal.runtime.ParserException);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljdk/nashorn/internal/runtime/ParserException;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual jdk.nashorn.internal.runtime.ParserException.getErrorType:()Ljdk/nashorn/internal/runtime/JSErrorType;
astore 2
start local 2 1: getstatic jdk.nashorn.internal.runtime.ECMAErrors.$assertionsDisabled:Z
ifne 2
aload 2
ifnonnull 2
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "error type for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " was null"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: jdk.nashorn.internal.runtime.JSErrorType
StackMap stack:
aload 0
astore 3
start local 3 3: aload 1
invokevirtual jdk.nashorn.internal.runtime.ParserException.getMessage:()Ljava/lang/String;
astore 4
start local 4 4: invokestatic jdk.nashorn.internal.runtime.ECMAErrors.$SWITCH_TABLE$jdk$nashorn$internal$runtime$JSErrorType:()[I
aload 2
invokevirtual jdk.nashorn.internal.runtime.JSErrorType.ordinal:()I
iaload
tableswitch { // 1 - 7
1: 5
2: 6
3: 7
4: 8
5: 9
6: 10
7: 11
default: 12
}
5: StackMap locals: jdk.nashorn.internal.objects.Global java.lang.String
StackMap stack:
aload 3
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
6: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newEvalError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
7: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newRangeError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
8: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newReferenceError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
9: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newSyntaxError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
10: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newTypeError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
11: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newURIError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
12: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
aload 1
invokevirtual jdk.nashorn.internal.runtime.ParserException.getMessage:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 global Ljdk/nashorn/internal/objects/Global;
0 13 1 e Ljdk/nashorn/internal/runtime/ParserException;
1 13 2 errorType Ljdk/nashorn/internal/runtime/JSErrorType;
3 13 3 globalObj Ljdk/nashorn/internal/objects/Global;
4 13 4 msg Ljava/lang/String;
MethodParameters:
Name Flags
global final
e final
public static jdk.nashorn.internal.runtime.ECMAException syntaxError(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.syntaxError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 msgId Ljava/lang/String;
0 1 1 args [Ljava/lang/String;
MethodParameters:
Name Flags
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException syntaxError(jdk.nashorn.internal.objects.Global, java.lang.String, java.lang.String[]);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.syntaxError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 global Ljdk/nashorn/internal/objects/Global;
0 1 1 msgId Ljava/lang/String;
0 1 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
global final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException syntaxError(java.lang.Throwable, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.syntaxError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cause Ljava/lang/Throwable;
0 1 1 msgId Ljava/lang/String;
0 1 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
cause final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException syntaxError(jdk.nashorn.internal.objects.Global, java.lang.Throwable, java.lang.String, java.lang.String[]);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
ldc "syntax.error."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.getMessage:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 0
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newSyntaxError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 global Ljdk/nashorn/internal/objects/Global;
0 2 1 cause Ljava/lang/Throwable;
0 2 2 msgId Ljava/lang/String;
0 2 3 args [Ljava/lang/String;
1 2 4 msg Ljava/lang/String;
MethodParameters:
Name Flags
global final
cause final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException typeError(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 msgId Ljava/lang/String;
0 1 1 args [Ljava/lang/String;
MethodParameters:
Name Flags
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException typeError(jdk.nashorn.internal.objects.Global, java.lang.String, java.lang.String[]);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 global Ljdk/nashorn/internal/objects/Global;
0 1 1 msgId Ljava/lang/String;
0 1 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
global final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException typeError(java.lang.Throwable, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cause Ljava/lang/Throwable;
0 1 1 msgId Ljava/lang/String;
0 1 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
cause final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException typeError(jdk.nashorn.internal.objects.Global, java.lang.Throwable, java.lang.String, java.lang.String[]);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
ldc "type.error."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.getMessage:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 0
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newTypeError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 global Ljdk/nashorn/internal/objects/Global;
0 2 1 cause Ljava/lang/Throwable;
0 2 2 msgId Ljava/lang/String;
0 2 3 args [Ljava/lang/String;
1 2 4 msg Ljava/lang/String;
MethodParameters:
Name Flags
global final
cause final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException rangeError(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 msgId Ljava/lang/String;
0 1 1 args [Ljava/lang/String;
MethodParameters:
Name Flags
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException rangeError(jdk.nashorn.internal.objects.Global, java.lang.String, java.lang.String[]);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 global Ljdk/nashorn/internal/objects/Global;
0 1 1 msgId Ljava/lang/String;
0 1 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
global final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException rangeError(java.lang.Throwable, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.rangeError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cause Ljava/lang/Throwable;
0 1 1 msgId Ljava/lang/String;
0 1 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
cause final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException rangeError(jdk.nashorn.internal.objects.Global, java.lang.Throwable, java.lang.String, java.lang.String[]);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
ldc "range.error."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.getMessage:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 0
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newRangeError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 global Ljdk/nashorn/internal/objects/Global;
0 2 1 cause Ljava/lang/Throwable;
0 2 2 msgId Ljava/lang/String;
0 2 3 args [Ljava/lang/String;
1 2 4 msg Ljava/lang/String;
MethodParameters:
Name Flags
global final
cause final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException referenceError(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.referenceError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 msgId Ljava/lang/String;
0 1 1 args [Ljava/lang/String;
MethodParameters:
Name Flags
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException referenceError(jdk.nashorn.internal.objects.Global, java.lang.String, java.lang.String[]);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.referenceError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 global Ljdk/nashorn/internal/objects/Global;
0 1 1 msgId Ljava/lang/String;
0 1 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
global final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException referenceError(java.lang.Throwable, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.referenceError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cause Ljava/lang/Throwable;
0 1 1 msgId Ljava/lang/String;
0 1 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
cause final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException referenceError(jdk.nashorn.internal.objects.Global, java.lang.Throwable, java.lang.String, java.lang.String[]);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
ldc "reference.error."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.getMessage:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 0
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newReferenceError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 global Ljdk/nashorn/internal/objects/Global;
0 2 1 cause Ljava/lang/Throwable;
0 2 2 msgId Ljava/lang/String;
0 2 3 args [Ljava/lang/String;
1 2 4 msg Ljava/lang/String;
MethodParameters:
Name Flags
global final
cause final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException uriError(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.uriError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 msgId Ljava/lang/String;
0 1 1 args [Ljava/lang/String;
MethodParameters:
Name Flags
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException uriError(jdk.nashorn.internal.objects.Global, java.lang.String, java.lang.String[]);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.uriError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 global Ljdk/nashorn/internal/objects/Global;
0 1 1 msgId Ljava/lang/String;
0 1 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
global final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException uriError(java.lang.Throwable, java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.uriError:(Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cause Ljava/lang/Throwable;
0 1 1 msgId Ljava/lang/String;
0 1 2 args [Ljava/lang/String;
MethodParameters:
Name Flags
cause final
msgId final
args final
public static jdk.nashorn.internal.runtime.ECMAException uriError(jdk.nashorn.internal.objects.Global, java.lang.Throwable, java.lang.String, java.lang.String[]);
descriptor: (Ljdk/nashorn/internal/objects/Global;Ljava/lang/Throwable;Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
ldc "uri.error."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.getMessage:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 1: aload 0
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.newURIError:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ScriptObject;
aload 1
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.error:(Ljava/lang/Object;Ljava/lang/Throwable;)Ljdk/nashorn/internal/runtime/ECMAException;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 global Ljdk/nashorn/internal/objects/Global;
0 2 1 cause Ljava/lang/Throwable;
0 2 2 msgId Ljava/lang/String;
0 2 3 args [Ljava/lang/String;
1 2 4 msg Ljava/lang/String;
MethodParameters:
Name Flags
global final
cause final
msgId final
args final
public static java.lang.String getMessage(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new java.text.MessageFormat
dup
getstatic jdk.nashorn.internal.runtime.ECMAErrors.MESSAGES_BUNDLE:Ljava/util/ResourceBundle;
aload 0
invokevirtual java.util.ResourceBundle.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.util.MissingResourceException
pop
3: new java.lang.RuntimeException
dup
new java.lang.StringBuilder
dup
ldc "no message resource found for message id: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 msgId Ljava/lang/String;
0 4 1 args [Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.util.MissingResourceException
MethodParameters:
Name Flags
msgId final
args final
public static boolean isScriptFrame(java.lang.StackTraceElement);
descriptor: (Ljava/lang/StackTraceElement;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.StackTraceElement.getClassName:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
getstatic jdk.nashorn.internal.runtime.ECMAErrors.scriptPackage:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
aload 0
invokevirtual java.lang.StackTraceElement.getMethodName:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.codegen.CompilerConstants.isInternalMethodName:(Ljava/lang/String;)Z
ifne 5
2: aload 0
invokevirtual java.lang.StackTraceElement.getFileName:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ifnull 4
aload 2
ldc ".java"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 4
iconst_1
ireturn
StackMap locals: java.lang.String java.lang.String
StackMap stack:
4: iconst_0
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 frame Ljava/lang/StackTraceElement;
1 6 1 className Ljava/lang/String;
3 5 2 source Ljava/lang/String;
MethodParameters:
Name Flags
frame final
static int[] $SWITCH_TABLE$jdk$nashorn$internal$runtime$JSErrorType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.nashorn.internal.runtime.ECMAErrors.$SWITCH_TABLE$jdk$nashorn$internal$runtime$JSErrorType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.nashorn.internal.runtime.JSErrorType.values:()[Ljdk/nashorn/internal/runtime/JSErrorType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.nashorn.internal.runtime.JSErrorType.ERROR:Ljdk/nashorn/internal/runtime/JSErrorType;
invokevirtual jdk.nashorn.internal.runtime.JSErrorType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.nashorn.internal.runtime.JSErrorType.EVAL_ERROR:Ljdk/nashorn/internal/runtime/JSErrorType;
invokevirtual jdk.nashorn.internal.runtime.JSErrorType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.nashorn.internal.runtime.JSErrorType.RANGE_ERROR:Ljdk/nashorn/internal/runtime/JSErrorType;
invokevirtual jdk.nashorn.internal.runtime.JSErrorType.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.nashorn.internal.runtime.JSErrorType.REFERENCE_ERROR:Ljdk/nashorn/internal/runtime/JSErrorType;
invokevirtual jdk.nashorn.internal.runtime.JSErrorType.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.nashorn.internal.runtime.JSErrorType.SYNTAX_ERROR:Ljdk/nashorn/internal/runtime/JSErrorType;
invokevirtual jdk.nashorn.internal.runtime.JSErrorType.ordinal:()I
iconst_5
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic jdk.nashorn.internal.runtime.JSErrorType.TYPE_ERROR:Ljdk/nashorn/internal/runtime/JSErrorType;
invokevirtual jdk.nashorn.internal.runtime.JSErrorType.ordinal:()I
bipush 6
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic jdk.nashorn.internal.runtime.JSErrorType.URI_ERROR:Ljdk/nashorn/internal/runtime/JSErrorType;
invokevirtual jdk.nashorn.internal.runtime.JSErrorType.ordinal:()I
bipush 7
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
dup
putstatic jdk.nashorn.internal.runtime.ECMAErrors.$SWITCH_TABLE$jdk$nashorn$internal$runtime$JSErrorType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
}
SourceFile: "ECMAErrors.java"