|
1 | 1 | /* |
2 | | - * Copyright 2002-2013 the original author or authors. |
| 2 | + * Copyright 2002-2016 the original author or authors. |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
@@ -748,8 +748,7 @@ protected TransactionSynchronizationRegistry findTransactionSynchronizationRegis |
748 | 748 | } |
749 | 749 | catch (NamingException ex) { |
750 | 750 | if (logger.isDebugEnabled()) { |
751 | | - logger.debug( |
752 | | - "No JTA TransactionSynchronizationRegistry found at default JNDI location [" + jndiName + "]", ex); |
| 751 | + logger.debug("No JTA TransactionSynchronizationRegistry found at default JNDI location [" + jndiName + "]", ex); |
753 | 752 | } |
754 | 753 | } |
755 | 754 | } |
@@ -834,12 +833,12 @@ protected void doBegin(Object transaction, TransactionDefinition definition) { |
834 | 833 | catch (NotSupportedException ex) { |
835 | 834 | // assume nested transaction not supported |
836 | 835 | throw new NestedTransactionNotSupportedException( |
837 | | - "JTA implementation does not support nested transactions", ex); |
| 836 | + "JTA implementation does not support nested transactions", ex); |
838 | 837 | } |
839 | 838 | catch (UnsupportedOperationException ex) { |
840 | 839 | // assume nested transaction not supported |
841 | 840 | throw new NestedTransactionNotSupportedException( |
842 | | - "JTA implementation does not support nested transactions", ex); |
| 841 | + "JTA implementation does not support nested transactions", ex); |
843 | 842 | } |
844 | 843 | catch (SystemException ex) { |
845 | 844 | throw new CannotCreateTransactionException("JTA failure on begin", ex); |
@@ -894,8 +893,8 @@ protected void applyIsolationLevel(JtaTransactionObject txObject, int isolationL |
894 | 893 |
|
895 | 894 | if (!this.allowCustomIsolationLevels && isolationLevel != TransactionDefinition.ISOLATION_DEFAULT) { |
896 | 895 | throw new InvalidIsolationLevelException( |
897 | | - "JtaTransactionManager does not support custom isolation levels by default - " + |
898 | | - "switch 'allowCustomIsolationLevels' to 'true'"); |
| 896 | + "JtaTransactionManager does not support custom isolation levels by default - " + |
| 897 | + "switch 'allowCustomIsolationLevels' to 'true'"); |
899 | 898 | } |
900 | 899 | } |
901 | 900 |
|
|
0 commit comments