@ -421,8 +421,8 @@ public class LocalSessionFactoryBuilder extends Configuration {
@@ -421,8 +421,8 @@ public class LocalSessionFactoryBuilder extends Configuration {
returnthis.sessionFactoryFuture.get();
}
catch(InterruptedExceptionex){
thrownewIllegalStateException("Interrupted during initialization of Hibernate SessionFactory: "+
ex.getMessage());
Thread.currentThread().interrupt();
thrownewIllegalStateException("Interrupted during initialization of Hibernate SessionFactory",ex);
}
catch(ExecutionExceptionex){
thrownewIllegalStateException("Failed to asynchronously initialize Hibernate SessionFactory: "+
@ -519,8 +519,8 @@ public abstract class AbstractEntityManagerFactoryBean implements
@@ -519,8 +519,8 @@ public abstract class AbstractEntityManagerFactoryBean implements
@ -300,6 +300,7 @@ public class UndertowXhrTransport extends AbstractXhrTransport {
@@ -300,6 +300,7 @@ public class UndertowXhrTransport extends AbstractXhrTransport {
thrownewSockJsTransportFailureException("Failed to execute request to "+url,ex);
}
catch(InterruptedExceptionex){
Thread.currentThread().interrupt();
thrownewSockJsTransportFailureException("Interrupted while processing request to "+url,ex);