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

Method errorInUserCode

core/src/com/google/inject/internal/Errors.java:554–562  ·  view source on GitHub ↗
(Throwable cause, String messageFormat, Object... arguments)

Source from the content-addressed store, hash-verified

552 }
553
554 public Errors errorInUserCode(Throwable cause, String messageFormat, Object... arguments) {
555 Collection<Message> messages = getMessagesFromThrowable(cause);
556
557 if (!messages.isEmpty()) {
558 return merge(messages);
559 } else {
560 return addMessage(ErrorId.ERROR_IN_USER_CODE, cause, messageFormat, arguments);
561 }
562 }
563
564 public Errors cannotInjectRawProvider() {
565 return addMessage(

Callers 4

conversionErrorMethod · 0.95
errorEnhancingClassMethod · 0.95
addErrorMethod · 0.45

Calls 4

mergeMethod · 0.95
addMessageMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected