@ -226,8 +226,7 @@ public class JmsTransactionManager extends AbstractPlatformTransactionManager
@@ -226,8 +226,7 @@ public class JmsTransactionManager extends AbstractPlatformTransactionManager
@ -144,7 +144,6 @@ public class OpenSessionInViewInterceptor implements AsyncWebRequestInterceptor
@@ -144,7 +144,6 @@ public class OpenSessionInViewInterceptor implements AsyncWebRequestInterceptor
@ -374,14 +374,10 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
@@ -374,14 +374,10 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
prepareSynchronization(status,definition);
returnstatus;
}
catch(RuntimeExceptionex){
catch(RuntimeException|Errorex){
resume(null,suspendedResources);
throwex;
}
catch(Errorerr){
resume(null,suspendedResources);
throwerr;
}
}
else{
// Create "empty" transaction: no actual transaction, but potentially synchronization.
@ -430,14 +426,10 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
@@ -430,14 +426,10 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
@ -589,16 +581,11 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
@@ -589,16 +581,11 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
// Transaction active but no synchronization active.
@ -650,14 +637,10 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
@@ -650,14 +637,10 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
try{
resume(transaction,suspendedResources);
}
catch(RuntimeExceptionresumeEx){
catch(RuntimeException|ErrorresumeEx){
logger.error(exMessage,beginEx);
throwresumeEx;
}
catch(ErrorresumeErr){
logger.error(exMessage,beginEx);
throwresumeErr;
}
}
/**
@ -782,20 +765,13 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
@@ -782,20 +765,13 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
}
throwex;
}
catch(RuntimeExceptionex){
catch(RuntimeException|Errorex){
if(!beforeCompletionInvoked){
triggerBeforeCompletion(status);
}
doRollbackOnCommitException(status,ex);
throwex;
}
catch(Errorerr){
if(!beforeCompletionInvoked){
triggerBeforeCompletion(status);
}
doRollbackOnCommitException(status,err);
throwerr;
}
// Trigger afterCommit callbacks, with an exception thrown there
// propagated to callers but the transaction still considered as committed.
@ -869,14 +845,10 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
@@ -869,14 +845,10 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
logger.debug("Should roll back transaction but cannot - no transaction available");
@ -906,16 +878,11 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
@@ -906,16 +878,11 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
doSetRollbackOnly(status);
}
}
catch(RuntimeExceptionrbex){
catch(RuntimeException|Errorrbex){
logger.error("Commit exception overridden by rollback exception",ex);
@ -118,9 +118,7 @@ public class ContentNegotiationManager implements ContentNegotiationStrategy, Me
@@ -118,9 +118,7 @@ public class ContentNegotiationManager implements ContentNegotiationStrategy, Me
@ -454,10 +454,13 @@ public abstract class ResponseEntityExceptionHandler {
@@ -454,10 +454,13 @@ public abstract class ResponseEntityExceptionHandler {
@ -87,7 +87,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -87,7 +87,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -100,8 +100,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -100,8 +100,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -124,7 +123,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -124,7 +123,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -150,8 +149,8 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -150,8 +149,8 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -237,11 +236,11 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -237,11 +236,11 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -259,7 +258,8 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -259,7 +258,8 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -295,7 +295,8 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -295,7 +295,8 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -309,6 +310,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -309,6 +310,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -322,9 +324,13 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -322,9 +324,13 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -334,7 +340,8 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -334,7 +340,8 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -351,6 +358,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -351,6 +358,7 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@ -367,9 +375,13 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {
@@ -367,9 +375,13 @@ public class ComplexWebApplicationContext extends StaticWebApplicationContext {