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

Method addError

core/src/com/google/inject/Binder.java:267–267  ·  view source on GitHub ↗

Records an error message which will be presented to the user at a later time. Unlike throwing an exception, this enable us to continue configuring the Injector and discover more errors. Uses String#format(String, Object[]) to insert the arguments into the message.

(String message, Object... arguments)

Source from the content-addressed store, hash-verified

265 * Uses {@link String#format(String, Object[])} to insert the arguments into the message.
266 */
267 void addError(String message, Object... arguments);
268
269 /**
270 * Records an exception, the full details of which will be logged, and the message of which will

Callers 15

hearMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65
configureMethod · 0.65
addErrorMethod · 0.65
addErrorMethod · 0.65
configureMethod · 0.65
bindBeanMethod · 0.65
isDynamicFinderValidMethod · 0.65

Implementers 1

RecordingBindercore/src/com/google/inject/spi/Element

Calls

no outgoing calls

Tested by 8

hearMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52
configureMethod · 0.52