You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/04/15 07:16:13 UTC

[GitHub] [ignite-3] sergey-chugunov-1985 commented on a change in pull request #86: IGNITE-14476 Get rid of using storage implementation explicitly in ConfigurationRoot annotation

sergey-chugunov-1985 commented on a change in pull request #86:
URL: https://github.com/apache/ignite-3/pull/86#discussion_r613814588



##########
File path: modules/configuration-annotation-processor/src/main/java/org/apache/ignite/configuration/processor/internal/Processor.java
##########
@@ -96,6 +98,18 @@ public Processor() {
 
     /** {@inheritDoc} */
     @Override public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnvironment) {
+        try {
+            return process0(roundEnvironment);
+        } catch (Throwable t) {
+            StringWriter sw = new StringWriter();
+            PrintWriter pw = new PrintWriter(sw);
+            t.printStackTrace(pw);
+            processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, "Failed to process configuration: " + sw.toString());
+        }
+        return false;
+    }
+
+    private boolean process0(RoundEnvironment roundEnvironment) {

Review comment:
       Method without comment




-- 
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.

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