stevedlawrence commented on code in PR #1548:
URL: https://github.com/apache/daffodil/pull/1548#discussion_r2303931600


##########
daffodil-core/src/main/java/org/apache/daffodil/api/validation/ValidatorNotRegisteredException.java:
##########
@@ -27,6 +27,6 @@ public class ValidatorNotRegisteredException extends 
Exception {
    * @param name the requested validator factory name
    */
   ValidatorNotRegisteredException(String name) {
-    super("No api.validation.ValidatorFactory is registered as " + name);
+    super("No Daffodil ValidatorFactory is registered with name '" + name + 
"'. Available validators: " + String.join(", ", Validators.list()));

Review Comment:
   Fixed. I usually rely on sbt-scalafmt to alert me of long lines, but forgot 
this was Java code. So I opened DAFFODIL-3036 to consider something similar for 
our java code.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to