Home | History | Annotate | Download | only in inject

Lines Matching defs:messages

35   private final ImmutableSet<Message> messages;
37 /** Creates a CreationException containing {@code messages}. */
38 public CreationException(Collection<Message> messages) {
39 this.messages = ImmutableSet.copyOf(messages);
40 checkArgument(!this.messages.isEmpty());
41 initCause(Errors.getOnlyCause(this.messages));
44 /** Returns messages for the errors that caused this exception. */
46 return messages;
50 return Errors.format("Unable to create injector, see the following errors", messages);