public final class jdk.nashorn.internal.runtime.ParserException extends jdk.nashorn.api.scripting.NashornException
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.ParserException
super_class: jdk.nashorn.api.scripting.NashornException
{
private final jdk.nashorn.internal.runtime.Source source;
descriptor: Ljdk/nashorn/internal/runtime/Source;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long token;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.runtime.JSErrorType errorType;
descriptor: Ljdk/nashorn/internal/runtime/JSErrorType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic jdk.nashorn.internal.runtime.JSErrorType.SYNTAX_ERROR:Ljdk/nashorn/internal/runtime/JSErrorType;
aload 1
aconst_null
iconst_m1
iconst_m1
ldc -1
invokespecial jdk.nashorn.internal.runtime.ParserException.<init>:(Ljdk/nashorn/internal/runtime/JSErrorType;Ljava/lang/String;Ljdk/nashorn/internal/runtime/Source;IIJ)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/ParserException;
0 2 1 msg Ljava/lang/String;
MethodParameters:
Name Flags
msg final
public void <init>(jdk.nashorn.internal.runtime.JSErrorType, java.lang.String, jdk.nashorn.internal.runtime.Source, int, int, long);
descriptor: (Ljdk/nashorn/internal/runtime/JSErrorType;Ljava/lang/String;Ljdk/nashorn/internal/runtime/Source;IIJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 2
aload 3
ifnull 1
aload 3
invokevirtual jdk.nashorn.internal.runtime.Source.getName:()Ljava/lang/String;
goto 2
StackMap locals: uninitialized-this jdk.nashorn.internal.runtime.JSErrorType java.lang.String jdk.nashorn.internal.runtime.Source int int long
StackMap stack: uninitialized-this java.lang.String
1: aconst_null
StackMap locals: uninitialized-this jdk.nashorn.internal.runtime.JSErrorType java.lang.String jdk.nashorn.internal.runtime.Source int int long
StackMap stack: uninitialized-this java.lang.String java.lang.String
2: iload 4
iload 5
invokespecial jdk.nashorn.api.scripting.NashornException.<init>:(Ljava/lang/String;Ljava/lang/String;II)V
3: aload 0
aload 3
putfield jdk.nashorn.internal.runtime.ParserException.source:Ljdk/nashorn/internal/runtime/Source;
4: aload 0
lload 6
putfield jdk.nashorn.internal.runtime.ParserException.token:J
5: aload 0
aload 1
putfield jdk.nashorn.internal.runtime.ParserException.errorType:Ljdk/nashorn/internal/runtime/JSErrorType;
6: return
end local 6 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 7 0 this Ljdk/nashorn/internal/runtime/ParserException;
0 7 1 errorType Ljdk/nashorn/internal/runtime/JSErrorType;
0 7 2 msg Ljava/lang/String;
0 7 3 source Ljdk/nashorn/internal/runtime/Source;
0 7 4 line I
0 7 5 column I
0 7 6 token J
MethodParameters:
Name Flags
errorType final
msg final
source final
line final
column final
token final
public jdk.nashorn.internal.runtime.Source getSource();
descriptor: ()Ljdk/nashorn/internal/runtime/Source;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ParserException.source:Ljdk/nashorn/internal/runtime/Source;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ParserException;
public long getToken();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ParserException.token:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ParserException;
public int getPosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ParserException.token:J
invokestatic jdk.nashorn.internal.parser.Token.descPosition:(J)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ParserException;
public jdk.nashorn.internal.runtime.JSErrorType getErrorType();
descriptor: ()Ljdk/nashorn/internal/runtime/JSErrorType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ParserException.errorType:Ljdk/nashorn/internal/runtime/JSErrorType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ParserException;
public void throwAsEcmaException();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.asEcmaException:(Ljdk/nashorn/internal/runtime/ParserException;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ParserException;
public void throwAsEcmaException(jdk.nashorn.internal.objects.Global);
descriptor: (Ljdk/nashorn/internal/objects/Global;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.asEcmaException:(Ljdk/nashorn/internal/objects/Global;Ljdk/nashorn/internal/runtime/ParserException;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ParserException;
0 1 1 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
global final
}
SourceFile: "ParserException.java"