JiriOndrusek commented on code in PR #3847:
URL: https://github.com/apache/camel-quarkus/pull/3847#discussion_r922074188


##########
extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/FastCamelContext.java:
##########
@@ -81,7 +81,10 @@ public String getVersion() {
     @Override
     protected Registry createRegistry() {
         // Registry creation is done at build time
-        throw new UnsupportedOperationException();
+        throw new UnsupportedOperationException(

Review Comment:
   I add a text into the `UnsupportedOperationException`, which is thrown in 
case that context is re-started with `CamelQuarkusTestSupport`. This will make 
the exception understandable for users. @ppalaga What do you think?



-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to