This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-scxml.git


The following commit(s) were added to refs/heads/master by this push:
     new 002cb342 No need to end exception messages with an exclamation!
002cb342 is described below

commit 002cb342ad80d368baac15fbfa2cf82e7fb6502a
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Apr 15 08:23:23 2026 -0400

    No need to end exception messages with an exclamation!
---
 src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java              | 2 +-
 .../java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java 
b/src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java
index dd121455..43a45d09 100644
--- a/src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java
+++ b/src/main/java/org/apache/commons/scxml2/SCXMLExecutor.java
@@ -448,7 +448,7 @@ public class SCXMLExecutor implements SCXMLIOProcessor {
             }
         }
         if (!semantics.isLegalConfiguration(states, getErrorReporter())) {
-            throw new ModelException("Illegal state machine configuration!");
+            throw new ModelException("Illegal state machine configuration.");
         }
         for (final EnterableState es : states) {
             exctx.getScInstance().getStateConfiguration().enterState(es);
diff --git 
a/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java 
b/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java
index feac5300..666de25b 100644
--- a/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java
+++ b/src/main/java/org/apache/commons/scxml2/semantics/SCXMLSemanticsImpl.java
@@ -179,7 +179,7 @@ public class SCXMLSemanticsImpl implements SCXMLSemantics {
         }
         // validate the result states represent a legal configuration
         if (exctx.isCheckLegalConfiguration() && !isLegalConfiguration(states, 
exctx.getErrorReporter())) {
-            throw new ModelException("Illegal state machine configuration!");
+            throw new ModelException("Illegal state machine configuration.");
         }
     }
 

Reply via email to