public class org.hibernate.internal.ExceptionConverterImpl implements org.hibernate.engine.spi.ExceptionConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.internal.ExceptionConverterImpl
super_class: java.lang.Object
{
private static final org.hibernate.internal.EntityManagerMessageLogger log;
descriptor: Lorg/hibernate/internal/EntityManagerMessageLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.hibernate.engine.spi.SharedSessionContractImplementor sharedSessionContract;
descriptor: Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/hibernate/internal/ExceptionConverterImpl;
invokestatic org.hibernate.internal.HEMLogging.messageLogger:(Ljava/lang/Class;)Lorg/hibernate/internal/EntityManagerMessageLogger;
putstatic org.hibernate.internal.ExceptionConverterImpl.log:Lorg/hibernate/internal/EntityManagerMessageLogger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.hibernate.engine.spi.SharedSessionContractImplementor);
descriptor: (Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.hibernate.internal.ExceptionConverterImpl.sharedSessionContract:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/hibernate/internal/ExceptionConverterImpl;
0 3 1 sharedSessionContract Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
MethodParameters:
Name Flags
sharedSessionContract
public java.lang.RuntimeException convertCommitException(java.lang.RuntimeException);
descriptor: (Ljava/lang/RuntimeException;)Ljava/lang/RuntimeException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.internal.ExceptionConverterImpl.sharedSessionContract:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getFactory:()Lorg/hibernate/engine/spi/SessionFactoryImplementor;
invokeinterface org.hibernate.engine.spi.SessionFactoryImplementor.getSessionFactoryOptions:()Lorg/hibernate/boot/spi/SessionFactoryOptions;
invokeinterface org.hibernate.boot.spi.SessionFactoryOptions.isJpaBootstrap:()Z
ifeq 18
1: aload 1
instanceof org.hibernate.HibernateException
ifeq 4
2: aload 0
aload 1
checkcast org.hibernate.HibernateException
invokevirtual org.hibernate.internal.ExceptionConverterImpl.convert:(Lorg/hibernate/HibernateException;)Ljava/lang/RuntimeException;
astore 2
start local 2 3: goto 14
end local 2 4: StackMap locals:
StackMap stack:
aload 1
instanceof javax.persistence.PersistenceException
ifeq 13
5: aload 1
invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
ifnonnull 6
aload 1
goto 7
StackMap locals:
StackMap stack:
6: aload 1
invokevirtual java.lang.RuntimeException.getCause:()Ljava/lang/Throwable;
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 3
start local 3 8: aload 3
instanceof org.hibernate.HibernateException
ifeq 11
9: aload 0
aload 3
checkcast org.hibernate.HibernateException
invokevirtual org.hibernate.internal.ExceptionConverterImpl.convert:(Lorg/hibernate/HibernateException;)Ljava/lang/RuntimeException;
astore 2
start local 2 10: goto 14
end local 2 11: StackMap locals: org.hibernate.internal.ExceptionConverterImpl java.lang.RuntimeException top java.lang.Throwable
StackMap stack:
aload 3
astore 2
end local 3 start local 2 12: goto 14
end local 2 13: StackMap locals: org.hibernate.internal.ExceptionConverterImpl java.lang.RuntimeException
StackMap stack:
aload 1
astore 2
start local 2 14: StackMap locals: java.lang.Throwable
StackMap stack:
aload 0
getfield org.hibernate.internal.ExceptionConverterImpl.sharedSessionContract:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getTransaction:()Lorg/hibernate/Transaction;
invokeinterface org.hibernate.Transaction.rollback:()V
15: goto 17
16: StackMap locals:
StackMap stack: java.lang.Exception
pop
17: StackMap locals:
StackMap stack:
new javax.persistence.RollbackException
dup
ldc "Error while committing the transaction"
aload 2
invokespecial javax.persistence.RollbackException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
areturn
end local 2 18: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/hibernate/internal/ExceptionConverterImpl;
0 19 1 e Ljava/lang/RuntimeException;
3 4 2 wrappedException Ljava/lang/Throwable;
10 11 2 wrappedException Ljava/lang/Throwable;
12 13 2 wrappedException Ljava/lang/Throwable;
14 18 2 wrappedException Ljava/lang/Throwable;
8 12 3 cause Ljava/lang/Throwable;
Exception table:
from to target type
14 15 16 Class java.lang.Exception
MethodParameters:
Name Flags
e
public java.lang.RuntimeException convert(org.hibernate.HibernateException, org.hibernate.LockOptions);
descriptor: (Lorg/hibernate/HibernateException;Lorg/hibernate/LockOptions;)Ljava/lang/RuntimeException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aload 3
instanceof org.hibernate.StaleStateException
ifeq 5
2: aload 0
aload 3
checkcast org.hibernate.StaleStateException
invokevirtual org.hibernate.internal.ExceptionConverterImpl.wrapStaleStateException:(Lorg/hibernate/StaleStateException;)Ljavax/persistence/PersistenceException;
astore 4
start local 4 3: aload 0
aload 4
invokevirtual org.hibernate.internal.ExceptionConverterImpl.handlePersistenceException:(Ljavax/persistence/PersistenceException;)V
4: aload 4
areturn
end local 4 5: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
instanceof org.hibernate.exception.LockAcquisitionException
ifeq 9
6: aload 0
aload 3
checkcast org.hibernate.HibernateException
aload 2
invokevirtual org.hibernate.internal.ExceptionConverterImpl.wrapLockException:(Lorg/hibernate/HibernateException;Lorg/hibernate/LockOptions;)Ljavax/persistence/PersistenceException;
astore 4
start local 4 7: aload 0
aload 4
invokevirtual org.hibernate.internal.ExceptionConverterImpl.handlePersistenceException:(Ljavax/persistence/PersistenceException;)V
8: aload 4
areturn
end local 4 9: StackMap locals:
StackMap stack:
aload 3
instanceof org.hibernate.dialect.lock.LockingStrategyException
ifeq 13
10: aload 0
aload 3
checkcast org.hibernate.HibernateException
aload 2
invokevirtual org.hibernate.internal.ExceptionConverterImpl.wrapLockException:(Lorg/hibernate/HibernateException;Lorg/hibernate/LockOptions;)Ljavax/persistence/PersistenceException;
astore 4
start local 4 11: aload 0
aload 4
invokevirtual org.hibernate.internal.ExceptionConverterImpl.handlePersistenceException:(Ljavax/persistence/PersistenceException;)V
12: aload 4
areturn
end local 4 13: StackMap locals:
StackMap stack:
aload 3
instanceof org.hibernate.PessimisticLockException
ifeq 17
14: aload 0
aload 3
checkcast org.hibernate.HibernateException
aload 2
invokevirtual org.hibernate.internal.ExceptionConverterImpl.wrapLockException:(Lorg/hibernate/HibernateException;Lorg/hibernate/LockOptions;)Ljavax/persistence/PersistenceException;
astore 4
start local 4 15: aload 0
aload 4
invokevirtual org.hibernate.internal.ExceptionConverterImpl.handlePersistenceException:(Ljavax/persistence/PersistenceException;)V
16: aload 4
areturn
end local 4 17: StackMap locals:
StackMap stack:
aload 3
instanceof org.hibernate.QueryTimeoutException
ifeq 21
18: new javax.persistence.QueryTimeoutException
dup
aload 3
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
aload 3
invokespecial javax.persistence.QueryTimeoutException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
astore 4
start local 4 19: aload 0
aload 4
invokevirtual org.hibernate.internal.ExceptionConverterImpl.handlePersistenceException:(Ljavax/persistence/PersistenceException;)V
20: aload 4
areturn
end local 4 21: StackMap locals:
StackMap stack:
aload 3
instanceof org.hibernate.ObjectNotFoundException
ifeq 25
22: new javax.persistence.EntityNotFoundException
dup
aload 3
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokespecial javax.persistence.EntityNotFoundException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 23: aload 0
aload 4
invokevirtual org.hibernate.internal.ExceptionConverterImpl.handlePersistenceException:(Ljavax/persistence/PersistenceException;)V
24: aload 4
areturn
end local 4 25: StackMap locals:
StackMap stack:
aload 3
instanceof org.hibernate.NonUniqueObjectException
ifeq 29
26: new javax.persistence.EntityExistsException
dup
aload 3
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokespecial javax.persistence.EntityExistsException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 27: aload 0
aload 4
invokevirtual org.hibernate.internal.ExceptionConverterImpl.handlePersistenceException:(Ljavax/persistence/PersistenceException;)V
28: aload 4
areturn
end local 4 29: StackMap locals:
StackMap stack:
aload 3
instanceof org.hibernate.NonUniqueResultException
ifeq 33
30: new javax.persistence.NonUniqueResultException
dup
aload 3
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokespecial javax.persistence.NonUniqueResultException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 31: aload 0
aload 4
invokevirtual org.hibernate.internal.ExceptionConverterImpl.handlePersistenceException:(Ljavax/persistence/PersistenceException;)V
32: aload 4
areturn
end local 4 33: StackMap locals:
StackMap stack:
aload 3
instanceof org.hibernate.UnresolvableObjectException
ifeq 37
34: new javax.persistence.EntityNotFoundException
dup
aload 3
invokevirtual java.lang.Throwable.getMessage:()Ljava/lang/String;
invokespecial javax.persistence.EntityNotFoundException.<init>:(Ljava/lang/String;)V
astore 4
start local 4 35: aload 0
aload 4
invokevirtual org.hibernate.internal.ExceptionConverterImpl.handlePersistenceException:(Ljavax/persistence/PersistenceException;)V
36: aload 4
areturn
end local 4 37: StackMap locals:
StackMap stack:
aload 3
instanceof org.hibernate.QueryException
ifeq 39
38: new java.lang.IllegalArgumentException
dup
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
areturn
39: StackMap locals:
StackMap stack:
aload 3
instanceof org.hibernate.loader.MultipleBagFetchException
ifeq 41
40: new java.lang.IllegalArgumentException
dup
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/Throwable;)V
areturn
41: StackMap locals:
StackMap stack:
aload 3
instanceof org.hibernate.TransientObjectException
ifeq 47
42: aload 0
getfield org.hibernate.internal.ExceptionConverterImpl.sharedSessionContract:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.markForRollbackOnly:()V
43: goto 46
44: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 45: getstatic org.hibernate.internal.ExceptionConverterImpl.log:Lorg/hibernate/internal/EntityManagerMessageLogger;
aload 4
invokeinterface org.hibernate.internal.EntityManagerMessageLogger.unableToMarkForRollbackOnTransientObjectException:(Ljava/lang/Exception;)V
end local 4 46: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
areturn
47: StackMap locals:
StackMap stack:
new javax.persistence.PersistenceException
dup
aload 3
invokespecial javax.persistence.PersistenceException.<init>:(Ljava/lang/Throwable;)V
astore 4
start local 4 48: aload 0
aload 4
invokevirtual org.hibernate.internal.ExceptionConverterImpl.handlePersistenceException:(Ljavax/persistence/PersistenceException;)V
49: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 50 0 this Lorg/hibernate/internal/ExceptionConverterImpl;
0 50 1 e Lorg/hibernate/HibernateException;
0 50 2 lockOptions Lorg/hibernate/LockOptions;
1 50 3 cause Ljava/lang/Throwable;
3 5 4 converted Ljavax/persistence/PersistenceException;
7 9 4 converted Ljavax/persistence/PersistenceException;
11 13 4 converted Ljavax/persistence/PersistenceException;
15 17 4 converted Ljavax/persistence/PersistenceException;
19 21 4 converted Ljavax/persistence/QueryTimeoutException;
23 25 4 converted Ljavax/persistence/EntityNotFoundException;
27 29 4 converted Ljavax/persistence/EntityExistsException;
31 33 4 converted Ljavax/persistence/NonUniqueResultException;
35 37 4 converted Ljavax/persistence/EntityNotFoundException;
45 46 4 ne Ljava/lang/Exception;
48 50 4 converted Ljavax/persistence/PersistenceException;
Exception table:
from to target type
42 43 44 Class java.lang.Exception
MethodParameters:
Name Flags
e
lockOptions
public java.lang.RuntimeException convert(org.hibernate.HibernateException);
descriptor: (Lorg/hibernate/HibernateException;)Ljava/lang/RuntimeException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual org.hibernate.internal.ExceptionConverterImpl.convert:(Lorg/hibernate/HibernateException;Lorg/hibernate/LockOptions;)Ljava/lang/RuntimeException;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/internal/ExceptionConverterImpl;
0 1 1 e Lorg/hibernate/HibernateException;
MethodParameters:
Name Flags
e
public java.lang.RuntimeException convert(java.lang.RuntimeException);
descriptor: (Ljava/lang/RuntimeException;)Ljava/lang/RuntimeException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
astore 2
start local 2 1: aload 1
instanceof org.hibernate.HibernateException
ifeq 4
2: aload 0
aload 1
checkcast org.hibernate.HibernateException
invokevirtual org.hibernate.internal.ExceptionConverterImpl.convert:(Lorg/hibernate/HibernateException;)Ljava/lang/RuntimeException;
astore 2
3: goto 5
4: StackMap locals: java.lang.RuntimeException
StackMap stack:
aload 0
getfield org.hibernate.internal.ExceptionConverterImpl.sharedSessionContract:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.markForRollbackOnly:()V
5: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/internal/ExceptionConverterImpl;
0 6 1 e Ljava/lang/RuntimeException;
1 6 2 result Ljava/lang/RuntimeException;
MethodParameters:
Name Flags
e
public java.lang.RuntimeException convert(java.lang.RuntimeException, org.hibernate.LockOptions);
descriptor: (Ljava/lang/RuntimeException;Lorg/hibernate/LockOptions;)Ljava/lang/RuntimeException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aload 1
instanceof org.hibernate.HibernateException
ifeq 4
2: aload 0
aload 1
checkcast org.hibernate.HibernateException
aload 2
invokevirtual org.hibernate.internal.ExceptionConverterImpl.convert:(Lorg/hibernate/HibernateException;Lorg/hibernate/LockOptions;)Ljava/lang/RuntimeException;
astore 3
3: goto 5
4: StackMap locals: java.lang.RuntimeException
StackMap stack:
aload 0
getfield org.hibernate.internal.ExceptionConverterImpl.sharedSessionContract:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.markForRollbackOnly:()V
5: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/hibernate/internal/ExceptionConverterImpl;
0 6 1 e Ljava/lang/RuntimeException;
0 6 2 lockOptions Lorg/hibernate/LockOptions;
1 6 3 result Ljava/lang/RuntimeException;
MethodParameters:
Name Flags
e
lockOptions
public org.hibernate.JDBCException convert(java.sql.SQLException, java.lang.String);
descriptor: (Ljava/sql/SQLException;Ljava/lang/String;)Lorg/hibernate/JDBCException;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.hibernate.internal.ExceptionConverterImpl.sharedSessionContract:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.getJdbcServices:()Lorg/hibernate/engine/jdbc/spi/JdbcServices;
invokeinterface org.hibernate.engine.jdbc.spi.JdbcServices.getSqlExceptionHelper:()Lorg/hibernate/engine/jdbc/spi/SqlExceptionHelper;
aload 1
aload 2
invokevirtual org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert:(Ljava/sql/SQLException;Ljava/lang/String;)Lorg/hibernate/JDBCException;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/internal/ExceptionConverterImpl;
0 1 1 e Ljava/sql/SQLException;
0 1 2 message Ljava/lang/String;
MethodParameters:
Name Flags
e
message
protected javax.persistence.PersistenceException wrapStaleStateException(org.hibernate.StaleStateException);
descriptor: (Lorg/hibernate/StaleStateException;)Ljavax/persistence/PersistenceException;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.hibernate.StaleObjectStateException
ifeq 15
1: aload 1
checkcast org.hibernate.StaleObjectStateException
astore 3
start local 3 2: aload 3
invokevirtual org.hibernate.StaleObjectStateException.getIdentifier:()Ljava/io/Serializable;
astore 4
start local 4 3: aload 4
ifnull 13
4: aload 0
getfield org.hibernate.internal.ExceptionConverterImpl.sharedSessionContract:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
aload 3
invokevirtual org.hibernate.StaleObjectStateException.getEntityName:()Ljava/lang/String;
aload 4
iconst_0
iconst_1
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.internalLoad:(Ljava/lang/String;Ljava/io/Serializable;ZZ)Ljava/lang/Object;
astore 5
start local 5 5: aload 5
instanceof java.io.Serializable
ifeq 8
6: new javax.persistence.OptimisticLockException
dup
aload 1
invokevirtual org.hibernate.StaleStateException.getMessage:()Ljava/lang/String;
aload 1
aload 5
invokespecial javax.persistence.OptimisticLockException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/lang/Object;)V
astore 2
start local 2 7: goto 16
end local 2 8: StackMap locals: org.hibernate.internal.ExceptionConverterImpl org.hibernate.StaleStateException top org.hibernate.StaleObjectStateException java.io.Serializable java.lang.Object
StackMap stack:
new javax.persistence.OptimisticLockException
dup
aload 1
invokevirtual org.hibernate.StaleStateException.getMessage:()Ljava/lang/String;
aload 1
invokespecial javax.persistence.OptimisticLockException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
astore 2
end local 5 start local 2 9: goto 16
end local 2 10: StackMap locals: org.hibernate.internal.ExceptionConverterImpl org.hibernate.StaleStateException top org.hibernate.StaleObjectStateException java.io.Serializable
StackMap stack: javax.persistence.EntityNotFoundException
pop
11: new javax.persistence.OptimisticLockException
dup
aload 1
invokevirtual org.hibernate.StaleStateException.getMessage:()Ljava/lang/String;
aload 1
invokespecial javax.persistence.OptimisticLockException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
astore 2
start local 2 12: goto 16
end local 2 13: StackMap locals:
StackMap stack:
new javax.persistence.OptimisticLockException
dup
aload 1
invokevirtual org.hibernate.StaleStateException.getMessage:()Ljava/lang/String;
aload 1
invokespecial javax.persistence.OptimisticLockException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
astore 2
end local 4 end local 3 start local 2 14: goto 16
end local 2 15: StackMap locals: org.hibernate.internal.ExceptionConverterImpl org.hibernate.StaleStateException
StackMap stack:
new javax.persistence.OptimisticLockException
dup
aload 1
invokevirtual org.hibernate.StaleStateException.getMessage:()Ljava/lang/String;
aload 1
invokespecial javax.persistence.OptimisticLockException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
astore 2
start local 2 16: StackMap locals: javax.persistence.PersistenceException
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/hibernate/internal/ExceptionConverterImpl;
0 17 1 e Lorg/hibernate/StaleStateException;
7 8 2 pe Ljavax/persistence/PersistenceException;
9 10 2 pe Ljavax/persistence/PersistenceException;
12 13 2 pe Ljavax/persistence/PersistenceException;
14 15 2 pe Ljavax/persistence/PersistenceException;
16 17 2 pe Ljavax/persistence/PersistenceException;
2 14 3 sose Lorg/hibernate/StaleObjectStateException;
3 14 4 identifier Ljava/io/Serializable;
5 9 5 entity Ljava/lang/Object;
Exception table:
from to target type
4 9 10 Class javax.persistence.EntityNotFoundException
MethodParameters:
Name Flags
e
protected javax.persistence.PersistenceException wrapLockException(org.hibernate.HibernateException, org.hibernate.LockOptions);
descriptor: (Lorg/hibernate/HibernateException;Lorg/hibernate/LockOptions;)Ljavax/persistence/PersistenceException;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.hibernate.dialect.lock.OptimisticEntityLockException
ifeq 4
1: aload 1
checkcast org.hibernate.dialect.lock.OptimisticEntityLockException
astore 4
start local 4 2: new javax.persistence.OptimisticLockException
dup
aload 4
invokevirtual org.hibernate.dialect.lock.OptimisticEntityLockException.getMessage:()Ljava/lang/String;
aload 4
aload 4
invokevirtual org.hibernate.dialect.lock.OptimisticEntityLockException.getEntity:()Ljava/lang/Object;
invokespecial javax.persistence.OptimisticLockException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/lang/Object;)V
astore 3
end local 4 start local 3 3: goto 26
end local 3 4: StackMap locals:
StackMap stack:
aload 1
instanceof org.hibernate.exception.LockTimeoutException
ifeq 7
5: new javax.persistence.LockTimeoutException
dup
aload 1
invokevirtual org.hibernate.HibernateException.getMessage:()Ljava/lang/String;
aload 1
aconst_null
invokespecial javax.persistence.LockTimeoutException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/lang/Object;)V
astore 3
start local 3 6: goto 26
end local 3 7: StackMap locals:
StackMap stack:
aload 1
instanceof org.hibernate.dialect.lock.PessimisticEntityLockException
ifeq 18
8: aload 1
checkcast org.hibernate.dialect.lock.PessimisticEntityLockException
astore 4
start local 4 9: aload 2
ifnull 12
aload 2
invokevirtual org.hibernate.LockOptions.getTimeOut:()I
iconst_m1
if_icmple 12
10: new javax.persistence.LockTimeoutException
dup
aload 4
invokevirtual org.hibernate.dialect.lock.PessimisticEntityLockException.getMessage:()Ljava/lang/String;
aload 4
aload 4
invokevirtual org.hibernate.dialect.lock.PessimisticEntityLockException.getEntity:()Ljava/lang/Object;
invokespecial javax.persistence.LockTimeoutException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/lang/Object;)V
astore 3
start local 3 11: goto 26
end local 3 12: StackMap locals: org.hibernate.internal.ExceptionConverterImpl org.hibernate.HibernateException org.hibernate.LockOptions top org.hibernate.dialect.lock.PessimisticEntityLockException
StackMap stack:
new javax.persistence.PessimisticLockException
dup
13: aload 4
invokevirtual org.hibernate.dialect.lock.PessimisticEntityLockException.getMessage:()Ljava/lang/String;
14: aload 4
15: aload 4
invokevirtual org.hibernate.dialect.lock.PessimisticEntityLockException.getEntity:()Ljava/lang/Object;
16: invokespecial javax.persistence.PessimisticLockException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/lang/Object;)V
astore 3
end local 4 start local 3 17: goto 26
end local 3 18: StackMap locals: org.hibernate.internal.ExceptionConverterImpl org.hibernate.HibernateException org.hibernate.LockOptions
StackMap stack:
aload 1
instanceof org.hibernate.PessimisticLockException
ifeq 25
19: aload 1
checkcast org.hibernate.PessimisticLockException
astore 4
start local 4 20: aload 2
ifnull 23
aload 2
invokevirtual org.hibernate.LockOptions.getTimeOut:()I
iconst_m1
if_icmple 23
21: new javax.persistence.LockTimeoutException
dup
aload 4
invokevirtual org.hibernate.PessimisticLockException.getMessage:()Ljava/lang/String;
aload 4
aconst_null
invokespecial javax.persistence.LockTimeoutException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/lang/Object;)V
astore 3
start local 3 22: goto 26
end local 3 23: StackMap locals: org.hibernate.internal.ExceptionConverterImpl org.hibernate.HibernateException org.hibernate.LockOptions top org.hibernate.PessimisticLockException
StackMap stack:
new javax.persistence.PessimisticLockException
dup
aload 4
invokevirtual org.hibernate.PessimisticLockException.getMessage:()Ljava/lang/String;
aload 4
aconst_null
invokespecial javax.persistence.PessimisticLockException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/lang/Object;)V
astore 3
end local 4 start local 3 24: goto 26
end local 3 25: StackMap locals: org.hibernate.internal.ExceptionConverterImpl org.hibernate.HibernateException org.hibernate.LockOptions
StackMap stack:
new javax.persistence.OptimisticLockException
dup
aload 1
invokespecial javax.persistence.OptimisticLockException.<init>:(Ljava/lang/Throwable;)V
astore 3
start local 3 26: StackMap locals: javax.persistence.PersistenceException
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lorg/hibernate/internal/ExceptionConverterImpl;
0 27 1 e Lorg/hibernate/HibernateException;
0 27 2 lockOptions Lorg/hibernate/LockOptions;
3 4 3 pe Ljavax/persistence/PersistenceException;
6 7 3 pe Ljavax/persistence/PersistenceException;
11 12 3 pe Ljavax/persistence/PersistenceException;
17 18 3 pe Ljavax/persistence/PersistenceException;
22 23 3 pe Ljavax/persistence/PersistenceException;
24 25 3 pe Ljavax/persistence/PersistenceException;
26 27 3 pe Ljavax/persistence/PersistenceException;
2 3 4 lockException Lorg/hibernate/dialect/lock/OptimisticEntityLockException;
9 17 4 lockException Lorg/hibernate/dialect/lock/PessimisticEntityLockException;
20 24 4 jdbcLockException Lorg/hibernate/PessimisticLockException;
MethodParameters:
Name Flags
e
lockOptions
private void handlePersistenceException(javax.persistence.PersistenceException);
descriptor: (Ljavax/persistence/PersistenceException;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.persistence.NoResultException
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
instanceof javax.persistence.NonUniqueResultException
ifeq 4
3: return
4: StackMap locals:
StackMap stack:
aload 1
instanceof javax.persistence.LockTimeoutException
ifeq 6
5: return
6: StackMap locals:
StackMap stack:
aload 1
instanceof javax.persistence.QueryTimeoutException
ifeq 8
7: return
8: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.internal.ExceptionConverterImpl.sharedSessionContract:Lorg/hibernate/engine/spi/SharedSessionContractImplementor;
invokeinterface org.hibernate.engine.spi.SharedSessionContractImplementor.markForRollbackOnly:()V
9: goto 12
10: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 11: getstatic org.hibernate.internal.ExceptionConverterImpl.log:Lorg/hibernate/internal/EntityManagerMessageLogger;
aload 2
invokeinterface org.hibernate.internal.EntityManagerMessageLogger.unableToMarkForRollbackOnPersistenceException:(Ljava/lang/Exception;)V
end local 2 12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/hibernate/internal/ExceptionConverterImpl;
0 13 1 e Ljavax/persistence/PersistenceException;
11 12 2 ne Ljava/lang/Exception;
Exception table:
from to target type
8 9 10 Class java.lang.Exception
MethodParameters:
Name Flags
e
}
SourceFile: "ExceptionConverterImpl.java"