Improve verify() calls
[yangtools.git] / parser / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / reactor / CustomCrossSourceStatementReactorBuilder.java
index 7edbb5f7234357f2f4ceeaaf19465f59e4699245..9a08e2436c0e27032d262bdce9c2add571fecb87 100644 (file)
@@ -146,6 +146,6 @@ public class CustomCrossSourceStatementReactorBuilder implements Mutable {
     }
 
     private StatementSupportBundle.@NonNull Builder getBuilder(final ModelProcessingPhase phase) {
-        return verifyNotNull(reactorSupportBundles.get(phase));
+        return verifyNotNull(reactorSupportBundles.get(phase), "No builder for %s found", phase);
     }
 }