You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/12/04 15:07:10 UTC
[isis] 01/03: ISIS-2464: minor: fixes message
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
commit ff66060266c94e74775df8890419804020c6699f
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Dec 4 15:08:59 2020 +0100
ISIS-2464: minor: fixes message
---
.../persistence/IsisPlatformTransactionManagerForJdo.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/persistence/jdo/datanucleus-5/src/main/java/org/apache/isis/persistence/jdo/datanucleus5/persistence/IsisPlatformTransactionManagerForJdo.java b/persistence/jdo/datanucleus-5/src/main/java/org/apache/isis/persistence/jdo/datanucleus5/persistence/IsisPlatformTransactionManagerForJdo.java
index 9c3e566..07fd092 100644
--- a/persistence/jdo/datanucleus-5/src/main/java/org/apache/isis/persistence/jdo/datanucleus5/persistence/IsisPlatformTransactionManagerForJdo.java
+++ b/persistence/jdo/datanucleus-5/src/main/java/org/apache/isis/persistence/jdo/datanucleus5/persistence/IsisPlatformTransactionManagerForJdo.java
@@ -89,14 +89,14 @@ public class IsisPlatformTransactionManagerForJdo extends AbstractPlatformTransa
if(Utils.isJUnitTest()) {
- throw _Exceptions.illegalState("No IsisInteraction available. "
+ throw _Exceptions.illegalState("No InteractionSession available. "
+ "Transactions are expected to be within scope of an InteractionSession."
+ "\n"
+ "Possible solution: Make sure your JUnit test extends IsisIntegrationTestAbstract.");
} else {
- throw _Exceptions.illegalState("No IsisInteraction available. "
+ throw _Exceptions.illegalState("No InteractionSession available. "
+ "Transactions are expected to be within scope of an InteractionSession.");
}