Throws a ConfigurationException with a formatted Message if this condition is false.
(boolean condition, String format, Object... args)
| 86 | * false}. |
| 87 | */ |
| 88 | static void checkConfiguration(boolean condition, String format, Object... args) { |
| 89 | if (condition) { |
| 90 | return; |
| 91 | } |
| 92 | |
| 93 | throw new ConfigurationException(ImmutableSet.of(new Message(Errors.format(format, args)))); |
| 94 | } |
| 95 | |
| 96 | /** The root errors object. Used to access the list of error messages. */ |
| 97 | private final Errors root; |
no test coverage detected