class org.hibernate.dialect.SybaseASE157Dialect$1 implements org.hibernate.exception.spi.SQLExceptionConversionDelegate
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.hibernate.dialect.SybaseASE157Dialect$1
super_class: java.lang.Object
{
final org.hibernate.dialect.SybaseASE157Dialect this$0;
descriptor: Lorg/hibernate/dialect/SybaseASE157Dialect;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.hibernate.dialect.SybaseASE157Dialect);
descriptor: (Lorg/hibernate/dialect/SybaseASE157Dialect;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 // org.hibernate.dialect.SybaseASE157Dialect$1 this
0: .line 88
aload 0 /* this */
aload 1
putfield org.hibernate.dialect.SybaseASE157Dialect$1.this$0:Lorg/hibernate/dialect/SybaseASE157Dialect;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.hibernate.dialect.SybaseASE157Dialect$1 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/dialect/SybaseASE157Dialect$1;
MethodParameters:
Name Flags
this$0 final
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 // org.hibernate.dialect.SybaseASE157Dialect$1 this
start local 1 // java.sql.SQLException sqlException
start local 2 // java.lang.String message
start local 3 // java.lang.String sql
0: .line 91
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 92
aload 1 /* sqlException */
invokestatic org.hibernate.internal.util.JdbcExceptionHelper.extractErrorCode:(Ljava/sql/SQLException;)I
istore 5 /* errorCode */
start local 5 // int errorCode
2: .line 93
ldc "JZ0TO"
aload 4 /* sqlState */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
ldc "JZ006"
aload 4 /* sqlState */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: .line 94
StackMap locals: java.lang.String int
StackMap stack:
new org.hibernate.exception.LockTimeoutException
dup
aload 2 /* message */
aload 1 /* sqlException */
aload 3 /* sql */
invokespecial org.hibernate.exception.LockTimeoutException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;)V
athrow
4: .line 96
StackMap locals:
StackMap stack:
sipush 515
iload 5 /* errorCode */
if_icmpne 7
ldc "ZZZZZ"
aload 4 /* sqlState */
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: .line 98
aload 0 /* this */
getfield org.hibernate.dialect.SybaseASE157Dialect$1.this$0:Lorg/hibernate/dialect/SybaseASE157Dialect;
invokevirtual org.hibernate.dialect.SybaseASE157Dialect.getViolatedConstraintNameExtracter:()Lorg/hibernate/exception/spi/ViolatedConstraintNameExtracter;
aload 1 /* sqlException */
invokeinterface org.hibernate.exception.spi.ViolatedConstraintNameExtracter.extractConstraintName:(Ljava/sql/SQLException;)Ljava/lang/String;
astore 6 /* constraintName */
start local 6 // java.lang.String constraintName
6: .line 99
new org.hibernate.exception.ConstraintViolationException
dup
aload 2 /* message */
aload 1 /* sqlException */
aload 3 /* sql */
aload 6 /* constraintName */
invokespecial org.hibernate.exception.ConstraintViolationException.<init>:(Ljava/lang/String;Ljava/sql/SQLException;Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 6 // java.lang.String constraintName
7: .line 101
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.dialect.SybaseASE157Dialect$1 this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/dialect/SybaseASE157Dialect$1;
0 8 1 sqlException Ljava/sql/SQLException;
0 8 2 message Ljava/lang/String;
0 8 3 sql Ljava/lang/String;
1 8 4 sqlState Ljava/lang/String;
2 8 5 errorCode I
6 7 6 constraintName Ljava/lang/String;
MethodParameters:
Name Flags
sqlException
message
sql
}
SourceFile: "SybaseASE157Dialect.java"
EnclosingMethod: org.hibernate.dialect.SybaseASE157Dialect.buildSQLExceptionConversionDelegate:()Lorg/hibernate/exception/spi/SQLExceptionConversionDelegate;
NestHost: org.hibernate.dialect.SybaseASE157Dialect
InnerClasses:
org.hibernate.dialect.SybaseASE157Dialect$1