public class java.sql.SQLException extends java.lang.Exception implements java.lang.Iterable<java.lang.Throwable>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.sql.SQLException
super_class: java.lang.Exception
{
private java.lang.String SQLState;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int vendorCode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile java.sql.SQLException next;
descriptor: Ljava/sql/SQLException;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private static final java.util.concurrent.atomic.AtomicReferenceFieldUpdater<java.sql.SQLException, java.sql.SQLException> nextUpdater;
descriptor: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater<Ljava/sql/SQLException;Ljava/sql/SQLException;>;
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2135244094396331484
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: ldc Ljava/sql/SQLException;
ldc Ljava/sql/SQLException;
ldc "next"
invokestatic java.util.concurrent.atomic.AtomicReferenceFieldUpdater.newUpdater:(Ljava/lang/Class;Ljava/lang/Class;Ljava/lang/String;)Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
1: putstatic java.sql.SQLException.nextUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.String, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
1: aload 0
aload 2
putfield java.sql.SQLException.SQLState:Ljava/lang/String;
2: aload 0
iload 3
putfield java.sql.SQLException.vendorCode:I
3: aload 0
instanceof java.sql.SQLWarning
ifne 9
4: invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
ifnull 9
5: new java.lang.StringBuilder
dup
ldc "SQLState("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc ") vendor code("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.sql.DriverManager.println:(Ljava/lang/String;)V
8: aload 0
invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
invokevirtual java.sql.SQLException.printStackTrace:(Ljava/io/PrintWriter;)V
9: StackMap locals: java.sql.SQLException java.lang.String java.lang.String int
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/sql/SQLException;
0 10 1 reason Ljava/lang/String;
0 10 2 SQLState Ljava/lang/String;
0 10 3 vendorCode I
MethodParameters:
Name Flags
reason
SQLState
vendorCode
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)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
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
1: aload 0
aload 2
putfield java.sql.SQLException.SQLState:Ljava/lang/String;
2: aload 0
iconst_0
putfield java.sql.SQLException.vendorCode:I
3: aload 0
instanceof java.sql.SQLWarning
ifne 7
4: invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
ifnull 7
5: aload 0
invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
invokevirtual java.sql.SQLException.printStackTrace:(Ljava/io/PrintWriter;)V
6: new java.lang.StringBuilder
dup
ldc "SQLException: SQLState("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.sql.DriverManager.println:(Ljava/lang/String;)V
7: StackMap locals: java.sql.SQLException java.lang.String java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/sql/SQLException;
0 8 1 reason Ljava/lang/String;
0 8 2 SQLState Ljava/lang/String;
MethodParameters:
Name Flags
reason
SQLState
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
1: aload 0
aconst_null
putfield java.sql.SQLException.SQLState:Ljava/lang/String;
2: aload 0
iconst_0
putfield java.sql.SQLException.vendorCode:I
3: aload 0
instanceof java.sql.SQLWarning
ifne 6
4: invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
ifnull 6
5: aload 0
invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
invokevirtual java.sql.SQLException.printStackTrace:(Ljava/io/PrintWriter;)V
6: StackMap locals: java.sql.SQLException java.lang.String
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/sql/SQLException;
0 7 1 reason Ljava/lang/String;
MethodParameters:
Name Flags
reason
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Exception.<init>:()V
1: aload 0
aconst_null
putfield java.sql.SQLException.SQLState:Ljava/lang/String;
2: aload 0
iconst_0
putfield java.sql.SQLException.vendorCode:I
3: aload 0
instanceof java.sql.SQLWarning
ifne 6
4: invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
ifnull 6
5: aload 0
invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
invokevirtual java.sql.SQLException.printStackTrace:(Ljava/io/PrintWriter;)V
6: StackMap locals: java.sql.SQLException
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/sql/SQLException;
public void <init>(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.lang.Exception.<init>:(Ljava/lang/Throwable;)V
1: aload 0
instanceof java.sql.SQLWarning
ifne 4
2: invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
ifnull 4
3: aload 0
invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
invokevirtual java.sql.SQLException.printStackTrace:(Ljava/io/PrintWriter;)V
4: StackMap locals: java.sql.SQLException java.lang.Throwable
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/sql/SQLException;
0 5 1 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
cause
public void <init>(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)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
aload 2
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
1: aload 0
instanceof java.sql.SQLWarning
ifne 4
2: invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
ifnull 4
3: aload 0
invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
invokevirtual java.sql.SQLException.printStackTrace:(Ljava/io/PrintWriter;)V
4: StackMap locals: java.sql.SQLException java.lang.String java.lang.Throwable
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/sql/SQLException;
0 5 1 reason Ljava/lang/String;
0 5 2 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
reason
cause
public void <init>(java.lang.String, java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 3
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
1: aload 0
aload 2
putfield java.sql.SQLException.SQLState:Ljava/lang/String;
2: aload 0
iconst_0
putfield java.sql.SQLException.vendorCode:I
3: aload 0
instanceof java.sql.SQLWarning
ifne 7
4: invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
ifnull 7
5: aload 0
invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
invokevirtual java.sql.SQLException.printStackTrace:(Ljava/io/PrintWriter;)V
6: new java.lang.StringBuilder
dup
ldc "SQLState("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.sql.SQLException.SQLState: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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.sql.DriverManager.println:(Ljava/lang/String;)V
7: StackMap locals: java.sql.SQLException java.lang.String java.lang.String java.lang.Throwable
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/sql/SQLException;
0 8 1 reason Ljava/lang/String;
0 8 2 sqlState Ljava/lang/String;
0 8 3 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
reason
sqlState
cause
public void <init>(java.lang.String, java.lang.String, int, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/String;ILjava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 4
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
1: aload 0
aload 2
putfield java.sql.SQLException.SQLState:Ljava/lang/String;
2: aload 0
iload 3
putfield java.sql.SQLException.vendorCode:I
3: aload 0
instanceof java.sql.SQLWarning
ifne 9
4: invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
ifnull 9
5: new java.lang.StringBuilder
dup
ldc "SQLState("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield java.sql.SQLException.SQLState:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: ldc ") vendor code("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.sql.DriverManager.println:(Ljava/lang/String;)V
8: aload 0
invokestatic java.sql.DriverManager.getLogWriter:()Ljava/io/PrintWriter;
invokevirtual java.sql.SQLException.printStackTrace:(Ljava/io/PrintWriter;)V
9: StackMap locals: java.sql.SQLException java.lang.String java.lang.String int java.lang.Throwable
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/sql/SQLException;
0 10 1 reason Ljava/lang/String;
0 10 2 sqlState Ljava/lang/String;
0 10 3 vendorCode I
0 10 4 cause Ljava/lang/Throwable;
MethodParameters:
Name Flags
reason
sqlState
vendorCode
cause
public java.lang.String getSQLState();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.sql.SQLException.SQLState:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/sql/SQLException;
public int getErrorCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.sql.SQLException.vendorCode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/sql/SQLException;
public java.sql.SQLException getNextException();
descriptor: ()Ljava/sql/SQLException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.sql.SQLException.next:Ljava/sql/SQLException;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/sql/SQLException;
public void setNextException(java.sql.SQLException);
descriptor: (Ljava/sql/SQLException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: StackMap locals: java.sql.SQLException
StackMap stack:
aload 2
getfield java.sql.SQLException.next:Ljava/sql/SQLException;
astore 3
start local 3 2: aload 3
ifnull 5
3: aload 3
astore 2
4: goto 1
5: StackMap locals: java.sql.SQLException
StackMap stack:
getstatic java.sql.SQLException.nextUpdater:Ljava/util/concurrent/atomic/AtomicReferenceFieldUpdater;
aload 2
aconst_null
aload 1
invokevirtual java.util.concurrent.atomic.AtomicReferenceFieldUpdater.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 7
6: return
7: StackMap locals:
StackMap stack:
aload 2
getfield java.sql.SQLException.next:Ljava/sql/SQLException;
astore 2
end local 3 8: goto 1
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/sql/SQLException;
0 9 1 ex Ljava/sql/SQLException;
1 9 2 current Ljava/sql/SQLException;
2 8 3 next Ljava/sql/SQLException;
MethodParameters:
Name Flags
ex
public java.util.Iterator<java.lang.Throwable> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.sql.SQLException$1
dup
aload 0
invokespecial java.sql.SQLException$1.<init>:(Ljava/sql/SQLException;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/sql/SQLException;
Signature: ()Ljava/util/Iterator<Ljava/lang/Throwable;>;
}
Signature: Ljava/lang/Exception;Ljava/lang/Iterable<Ljava/lang/Throwable;>;
SourceFile: "SQLException.java"
NestMembers:
java.sql.SQLException$1
InnerClasses:
java.sql.SQLException$1