MCPcopy Create free account
hub / github.com/google/guice / checkConfiguration

Method checkConfiguration

core/src/com/google/inject/internal/Errors.java:88–94  ·  view source on GitHub ↗

Throws a ConfigurationException with a formatted Message if this condition is false.

(boolean condition, String format, Object... args)

Source from the content-addressed store, hash-verified

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;

Callers 11

configureMethod · 0.80
getKeyForNewItemMethod · 0.80
getBindingsMethod · 0.80
getParameterInjectorsMethod · 0.80
checkNotInitializedMethod · 0.80
permitDuplicatesMethod · 0.80
getKeyForNewValueMethod · 0.80
configureMethod · 0.80
getMapBindingsMethod · 0.80
getMultimapBindingsMethod · 0.80
getEntriesMethod · 0.80

Calls 2

formatMethod · 0.95
ofMethod · 0.45

Tested by

no test coverage detected