public final class org.hibernate.internal.util.JdbcExceptionHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.hibernate.internal.util.JdbcExceptionHelper
super_class: java.lang.Object
{
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 Lorg/hibernate/internal/util/JdbcExceptionHelper;
public static int (java.sql.SQLException);
descriptor: (Ljava/sql/SQLException;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.sql.SQLException.getErrorCode:()I
istore 1
start local 1 1: aload 0
invokevirtual java.sql.SQLException.getNextException:()Ljava/sql/SQLException;
astore 2
start local 2 2: goto 5
3: StackMap locals: int java.sql.SQLException
StackMap stack:
aload 2
invokevirtual java.sql.SQLException.getErrorCode:()I
istore 1
4: aload 2
invokevirtual java.sql.SQLException.getNextException:()Ljava/sql/SQLException;
astore 2
5: StackMap locals:
StackMap stack:
iload 1
ifne 6
aload 2
ifnonnull 3
6: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 sqlException Ljava/sql/SQLException;
1 7 1 errorCode I
2 7 2 nested Ljava/sql/SQLException;
MethodParameters:
Name Flags
sqlException
public static java.lang.String (java.sql.SQLException);
descriptor: (Ljava/sql/SQLException;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.sql.SQLException.getSQLState:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
invokevirtual java.sql.SQLException.getNextException:()Ljava/sql/SQLException;
astore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.String java.sql.SQLException
StackMap stack:
aload 2
invokevirtual java.sql.SQLException.getSQLState:()Ljava/lang/String;
astore 1
4: aload 2
invokevirtual java.sql.SQLException.getNextException:()Ljava/sql/SQLException;
astore 2
5: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
aload 2
ifnonnull 3
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 sqlException Ljava/sql/SQLException;
1 7 1 sqlState Ljava/lang/String;
2 7 2 nested Ljava/sql/SQLException;
MethodParameters:
Name Flags
sqlException
public static java.lang.String (java.sql.SQLException);
descriptor: (Ljava/sql/SQLException;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.JdbcExceptionHelper.extractSqlState:(Ljava/sql/SQLException;)Ljava/lang/String;
invokestatic org.hibernate.internal.util.JdbcExceptionHelper.determineSqlStateClassCode:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sqlException Ljava/sql/SQLException;
MethodParameters:
Name Flags
sqlException
public static java.lang.String determineSqlStateClassCode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.length:()I
iconst_2
if_icmpge 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
iconst_2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 sqlState Ljava/lang/String;
MethodParameters:
Name Flags
sqlState
}
SourceFile: "JdbcExceptionHelper.java"