public class org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate extends org.hibernate.exception.spi.AbstractSQLExceptionConversionDelegate
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate
super_class: org.hibernate.exception.spi.AbstractSQLExceptionConversionDelegate
{
private static final java.util.Set<java.lang.String> DATA_CATEGORIES;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private static final java.util.Set<java.lang.Integer> INTEGRITY_VIOLATION_CATEGORIES;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Integer;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.DATA_CATEGORIES:Ljava/util/Set;
1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
2: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.DATA_CATEGORIES:Ljava/util/Set;
ldc "22"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.DATA_CATEGORIES:Ljava/util/Set;
ldc "21"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.DATA_CATEGORIES:Ljava/util/Set;
ldc "02"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
bipush 119
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
bipush 120
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
bipush 121
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
bipush 122
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
bipush 123
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
bipush 124
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
bipush 125
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
bipush 127
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
13: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.exception.spi.ConversionContext);
descriptor: (Lorg/hibernate/exception/spi/ConversionContext;)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 org.hibernate.exception.spi.AbstractSQLExceptionConversionDelegate.<init>:(Lorg/hibernate/exception/spi/ConversionContext;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/hibernate/exception/internal/CacheSQLExceptionConversionDelegate;
0 2 1 conversionContext Lorg/hibernate/exception/spi/ConversionContext;
MethodParameters:
Name Flags
conversionContext
public org.hibernate.JDBCException convert(java.sql.SQLException, java.lang.String, java.lang.String);
descriptor: (Ljava/sql/SQLException;Ljava/lang/String;Ljava/lang/String;)Lorg/hibernate/JDBCException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic org.hibernate.internal.util.JdbcExceptionHelper.extractSqlStateClassCode:(Ljava/sql/SQLException;)Ljava/lang/String;
astore 4
start local 4 1: aload 4
ifnull 11
2: aload 1
invokestatic org.hibernate.internal.util.JdbcExceptionHelper.extractErrorCode:(Ljava/sql/SQLException;)I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 5
start local 5 3: getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
aload 5
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 9
4: aload 0
invokevirtual org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.getConversionContext:()Lorg/hibernate/exception/spi/ConversionContext;
5: invokeinterface org.hibernate.exception.spi.ConversionContext.getViolatedConstraintNameExtracter:()Lorg/hibernate/exception/spi/ViolatedConstraintNameExtracter;
6: aload 1
invokeinterface org.hibernate.exception.spi.ViolatedConstraintNameExtracter.extractConstraintName:(Ljava/sql/SQLException;)Ljava/lang/String;
7: astore 6
start local 6 8: new org.hibernate.exception.ConstraintViolationException
dup
aload 2
aload 1
aload 3
aload 6
invokespecial org.hibernate.exception.ConstraintViolationException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 6 9: StackMap locals: java.lang.String java.lang.Integer
StackMap stack:
getstatic org.hibernate.exception.internal.CacheSQLExceptionConversionDelegate.DATA_CATEGORIES:Ljava/util/Set;
aload 4
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 11
10: new org.hibernate.exception.DataException
dup
aload 2
aload 1
aload 3
invokespecial org.hibernate.exception.DataException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;)V
areturn
end local 5 11: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/hibernate/exception/internal/CacheSQLExceptionConversionDelegate;
0 12 1 sqlException Ljava/sql/SQLException;
0 12 2 message Ljava/lang/String;
0 12 3 sql Ljava/lang/String;
1 12 4 sqlStateClassCode Ljava/lang/String;
3 11 5 errorCode Ljava/lang/Integer;
8 9 6 constraintName Ljava/lang/String;
MethodParameters:
Name Flags
sqlException
message
sql
}
SourceFile: "CacheSQLExceptionConversionDelegate.java"