public class org.hibernate.exception.internal.SQLStateConversionDelegate 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.SQLStateConversionDelegate
  super_class: org.hibernate.exception.spi.AbstractSQLExceptionConversionDelegate
{
  private static final java.util.Set<java.lang.String> SQL_GRAMMAR_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 DATA_CATEGORIES;
    descriptor: Ljava/util/Set;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.Set INTEGRITY_VIOLATION_CATEGORIES;
    descriptor: Ljava/util/Set;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private static final java.util.Set CONNECTION_CATEGORIES;
    descriptor: Ljava/util/Set;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 58
            invokestatic org.hibernate.exception.internal.SQLStateConversionDelegate.buildGrammarCategories:()Ljava/util/Set;
            putstatic org.hibernate.exception.internal.SQLStateConversionDelegate.SQL_GRAMMAR_CATEGORIES:Ljava/util/Set;
         1: .line 75
            invokestatic org.hibernate.exception.internal.SQLStateConversionDelegate.buildDataCategories:()Ljava/util/Set;
            putstatic org.hibernate.exception.internal.SQLStateConversionDelegate.DATA_CATEGORIES:Ljava/util/Set;
         2: .line 87
            invokestatic org.hibernate.exception.internal.SQLStateConversionDelegate.buildContraintCategories:()Ljava/util/Set;
            putstatic org.hibernate.exception.internal.SQLStateConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
         3: .line 100
            invokestatic org.hibernate.exception.internal.SQLStateConversionDelegate.buildConnectionCategories:()Ljava/util/Set;
            putstatic org.hibernate.exception.internal.SQLStateConversionDelegate.CONNECTION_CATEGORIES:Ljava/util/Set;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.util.Set<java.lang.String> buildGrammarCategories();
    descriptor: ()Ljava/util/Set;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=0
         0: .line 60
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 0 /* categories */
        start local 0 // java.util.HashSet categories
         1: .line 61
            aload 0 /* categories */
            bipush 7
            anewarray java.lang.String
            dup
            iconst_0
         2: .line 63
            ldc "07"
            aastore
            dup
            iconst_1
         3: .line 64
            ldc "20"
            aastore
            dup
            iconst_2
         4: .line 65
            ldc "2A"
            aastore
            dup
            iconst_3
         5: .line 66
            ldc "37"
            aastore
            dup
            iconst_4
         6: .line 67
            ldc "42"
            aastore
            dup
            iconst_5
         7: .line 68
            ldc "65"
            aastore
            dup
            bipush 6
         8: .line 69
            ldc "S0"
            aastore
         9: .line 62
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
        10: .line 61
            invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
            pop
        11: .line 72
            aload 0 /* categories */
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            areturn
        end local 0 // java.util.HashSet categories
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1   12     0  categories  Ljava/util/HashSet<Ljava/lang/String;>;
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  private static java.util.Set<java.lang.String> buildDataCategories();
    descriptor: ()Ljava/util/Set;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=0
         0: .line 77
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 0 /* categories */
        start local 0 // java.util.HashSet categories
         1: .line 78
            aload 0 /* categories */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
         2: .line 80
            ldc "21"
            aastore
            dup
            iconst_1
         3: .line 81
            ldc "22"
            aastore
         4: .line 79
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
         5: .line 78
            invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
            pop
         6: .line 84
            aload 0 /* categories */
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            areturn
        end local 0 // java.util.HashSet categories
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1    7     0  categories  Ljava/util/HashSet<Ljava/lang/String;>;
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  private static java.util.Set<java.lang.String> buildContraintCategories();
    descriptor: ()Ljava/util/Set;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=1, args_size=0
         0: .line 89
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 0 /* categories */
        start local 0 // java.util.HashSet categories
         1: .line 90
            aload 0 /* categories */
            iconst_3
            anewarray java.lang.String
            dup
            iconst_0
         2: .line 92
            ldc "23"
            aastore
            dup
            iconst_1
         3: .line 93
            ldc "27"
            aastore
            dup
            iconst_2
         4: .line 94
            ldc "44"
            aastore
         5: .line 91
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
         6: .line 90
            invokevirtual java.util.HashSet.addAll:(Ljava/util/Collection;)Z
            pop
         7: .line 97
            aload 0 /* categories */
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            areturn
        end local 0 // java.util.HashSet categories
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1    8     0  categories  Ljava/util/HashSet<Ljava/lang/String;>;
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  private static java.util.Set<java.lang.String> buildConnectionCategories();
    descriptor: ()Ljava/util/Set;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 102
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 0 /* categories */
        start local 0 // java.util.HashSet categories
         1: .line 103
            aload 0 /* categories */
         2: .line 104
            ldc "08"
         3: .line 103
            invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
            pop
         4: .line 106
            aload 0 /* categories */
            invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
            areturn
        end local 0 // java.util.HashSet categories
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1    5     0  categories  Ljava/util/HashSet<Ljava/lang/String;>;
    Signature: ()Ljava/util/Set<Ljava/lang/String;>;

  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 // org.hibernate.exception.internal.SQLStateConversionDelegate this
        start local 1 // org.hibernate.exception.spi.ConversionContext conversionContext
         0: .line 110
            aload 0 /* this */
            aload 1 /* conversionContext */
            invokespecial org.hibernate.exception.spi.AbstractSQLExceptionConversionDelegate.<init>:(Lorg/hibernate/exception/spi/ConversionContext;)V
         1: .line 111
            return
        end local 1 // org.hibernate.exception.spi.ConversionContext conversionContext
        end local 0 // org.hibernate.exception.internal.SQLStateConversionDelegate this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    2     0               this  Lorg/hibernate/exception/internal/SQLStateConversionDelegate;
            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=8, args_size=4
        start local 0 // org.hibernate.exception.internal.SQLStateConversionDelegate this
        start local 1 // java.sql.SQLException sqlException
        start local 2 // java.lang.String message
        start local 3 // java.lang.String sql
         0: .line 115
            aload 1 /* sqlException */
            invokestatic org.hibernate.internal.util.JdbcExceptionHelper.extractSqlState:(Ljava/sql/SQLException;)Ljava/lang/String;
            astore 4 /* sqlState */
        start local 4 // java.lang.String sqlState
         1: .line 116
            aload 1 /* sqlException */
            invokestatic org.hibernate.internal.util.JdbcExceptionHelper.extractErrorCode:(Ljava/sql/SQLException;)I
            istore 5 /* errorCode */
        start local 5 // int errorCode
         2: .line 118
            aload 4 /* sqlState */
            ifnull 24
         3: .line 119
            aload 4 /* sqlState */
            invokestatic org.hibernate.internal.util.JdbcExceptionHelper.determineSqlStateClassCode:(Ljava/lang/String;)Ljava/lang/String;
            astore 6 /* sqlStateClassCode */
        start local 6 // java.lang.String sqlStateClassCode
         4: .line 121
            aload 6 /* sqlStateClassCode */
            ifnull 17
         5: .line 122
            getstatic org.hibernate.exception.internal.SQLStateConversionDelegate.SQL_GRAMMAR_CATEGORIES:Ljava/util/Set;
            aload 6 /* sqlStateClassCode */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 7
         6: .line 123
            new org.hibernate.exception.SQLGrammarException
            dup
            aload 2 /* message */
            aload 1 /* sqlException */
            aload 3 /* sql */
            invokespecial org.hibernate.exception.SQLGrammarException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;)V
            areturn
         7: .line 125
      StackMap locals: java.lang.String int java.lang.String
      StackMap stack:
            getstatic org.hibernate.exception.internal.SQLStateConversionDelegate.INTEGRITY_VIOLATION_CATEGORIES:Ljava/util/Set;
            aload 6 /* sqlStateClassCode */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 13
         8: .line 126
            aload 0 /* this */
            invokevirtual org.hibernate.exception.internal.SQLStateConversionDelegate.getConversionContext:()Lorg/hibernate/exception/spi/ConversionContext;
         9: .line 127
            invokeinterface org.hibernate.exception.spi.ConversionContext.getViolatedConstraintNameExtracter:()Lorg/hibernate/exception/spi/ViolatedConstraintNameExtracter;
        10: .line 128
            aload 1 /* sqlException */
            invokeinterface org.hibernate.exception.spi.ViolatedConstraintNameExtracter.extractConstraintName:(Ljava/sql/SQLException;)Ljava/lang/String;
        11: .line 126
            astore 7 /* constraintName */
        start local 7 // java.lang.String constraintName
        12: .line 129
            new org.hibernate.exception.ConstraintViolationException
            dup
            aload 2 /* message */
            aload 1 /* sqlException */
            aload 3 /* sql */
            aload 7 /* constraintName */
            invokespecial org.hibernate.exception.ConstraintViolationException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;Ljava/lang/String;)V
            areturn
        end local 7 // java.lang.String constraintName
        13: .line 131
      StackMap locals:
      StackMap stack:
            getstatic org.hibernate.exception.internal.SQLStateConversionDelegate.CONNECTION_CATEGORIES:Ljava/util/Set;
            aload 6 /* sqlStateClassCode */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 15
        14: .line 132
            new org.hibernate.exception.JDBCConnectionException
            dup
            aload 2 /* message */
            aload 1 /* sqlException */
            aload 3 /* sql */
            invokespecial org.hibernate.exception.JDBCConnectionException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;)V
            areturn
        15: .line 134
      StackMap locals:
      StackMap stack:
            getstatic org.hibernate.exception.internal.SQLStateConversionDelegate.DATA_CATEGORIES:Ljava/util/Set;
            aload 6 /* sqlStateClassCode */
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 17
        16: .line 135
            new org.hibernate.exception.DataException
            dup
            aload 2 /* message */
            aload 1 /* sqlException */
            aload 3 /* sql */
            invokespecial org.hibernate.exception.DataException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;)V
            areturn
        17: .line 139
      StackMap locals:
      StackMap stack:
            ldc "40001"
            aload 4 /* sqlState */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 19
        18: .line 140
            new org.hibernate.exception.LockAcquisitionException
            dup
            aload 2 /* message */
            aload 1 /* sqlException */
            aload 3 /* sql */
            invokespecial org.hibernate.exception.LockAcquisitionException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;)V
            areturn
        19: .line 143
      StackMap locals:
      StackMap stack:
            ldc "40XL1"
            aload 4 /* sqlState */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 20
            ldc "40XL2"
            aload 4 /* sqlState */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 21
        20: .line 145
      StackMap locals:
      StackMap stack:
            new org.hibernate.PessimisticLockException
            dup
            aload 2 /* message */
            aload 1 /* sqlException */
            aload 3 /* sql */
            invokespecial org.hibernate.PessimisticLockException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;)V
            areturn
        21: .line 149
      StackMap locals:
      StackMap stack:
            ldc "70100"
            aload 4 /* sqlState */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifne 23
        22: .line 151
            ldc "72000"
            aload 4 /* sqlState */
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 24
            iload 5 /* errorCode */
            sipush 1013
            if_icmpne 24
        23: .line 152
      StackMap locals:
      StackMap stack:
            new org.hibernate.QueryTimeoutException
            dup
            aload 2 /* message */
            aload 1 /* sqlException */
            aload 3 /* sql */
            invokespecial org.hibernate.QueryTimeoutException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;)V
            athrow
        end local 6 // java.lang.String sqlStateClassCode
        24: .line 156
      StackMap locals:
      StackMap stack:
            aconst_null
            areturn
        end local 5 // int errorCode
        end local 4 // java.lang.String sqlState
        end local 3 // java.lang.String sql
        end local 2 // java.lang.String message
        end local 1 // java.sql.SQLException sqlException
        end local 0 // org.hibernate.exception.internal.SQLStateConversionDelegate this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   25     0               this  Lorg/hibernate/exception/internal/SQLStateConversionDelegate;
            0   25     1       sqlException  Ljava/sql/SQLException;
            0   25     2            message  Ljava/lang/String;
            0   25     3                sql  Ljava/lang/String;
            1   25     4           sqlState  Ljava/lang/String;
            2   25     5          errorCode  I
            4   24     6  sqlStateClassCode  Ljava/lang/String;
           12   13     7     constraintName  Ljava/lang/String;
    MethodParameters:
              Name  Flags
      sqlException  
      message       
      sql           
}
SourceFile: "SQLStateConversionDelegate.java"