Uses of Class
com.google.inject.spi.Message
-
Packages that use Message Package Description com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.com.google.inject.internal Guice (sounds like "juice")com.google.inject.spi Guice service provider interface -
-
Uses of Message in com.google.inject
Methods in com.google.inject that return types with arguments of type Message Modifier and Type Method Description Collection<Message>ConfigurationException. getErrorMessages()Returns messages for the errors that caused this exception.Collection<Message>CreationException. getErrorMessages()Returns messages for the errors that caused this exception.Collection<Message>ProvisionException. getErrorMessages()Returns messages for the errors that caused this exception.Methods in com.google.inject with parameters of type Message Modifier and Type Method Description protected voidAbstractModule. addError(Message message)voidBinder. addError(Message message)Records an error message to be presented to the user at a later time.protected voidPrivateModule. addError(Message message)Constructor parameters in com.google.inject with type arguments of type Message Constructor Description ConfigurationException(Iterable<Message> messages)Creates a ConfigurationException containingmessages.CreationException(Collection<Message> messages)Creates a CreationException containingmessages.ProvisionException(Iterable<Message> messages)Creates a ProvisionException containingmessages. -
Uses of Message in com.google.inject.internal
Methods in com.google.inject.internal that return Message Modifier and Type Method Description static MessageMessages. create(ErrorId errorId, String messageFormat, Object... arguments)Creates a new Message without a cause.static MessageMessages. create(ErrorId errorId, Throwable cause, String messageFormat, Object... arguments)Creates a new Message with the given cause.static MessageMessages. create(ErrorId errorId, Throwable cause, List<Object> sources, String messageFormat, Object... arguments)Creates a new Message with the given cause and a binding source stack.Methods in com.google.inject.internal that return types with arguments of type Message Modifier and Type Method Description List<Message>Errors. getMessages()static Collection<Message>Errors. getMessagesFromThrowable(Throwable throwable)Methods in com.google.inject.internal with parameters of type Message Modifier and Type Method Description ErrorsErrors. addMessage(Message message)Method parameters in com.google.inject.internal with type arguments of type Message Modifier and Type Method Description static StringMessages. formatMessages(String heading, Collection<Message> errorMessages)Returns the formatted message for an exception with the specified messages.static ThrowableMessages. getOnlyCause(Collection<Message> messages)Returns the cause throwable if there is exactly one cause inmessages.ErrorsErrors. merge(Collection<Message> messages) -
Uses of Message in com.google.inject.spi
Methods in com.google.inject.spi that return Message Modifier and Type Method Description MessageMessage. withSource(List<Object> newSources)Returns a copy of thisMessagewith its sources replaced.Methods in com.google.inject.spi that return types with arguments of type Message Modifier and Type Method Description static com.google.common.collect.ImmutableList<Message>BindingSourceRestriction. check(GuiceInternal guiceInternal, List<Element> elements)Returns all the restriction violations found on the given Module Elements, as error messages.Methods in com.google.inject.spi with parameters of type Message Modifier and Type Method Description voidTypeEncounter. addError(Message message)Records an error message to be presented to the user at a later time.VDefaultElementVisitor. visit(Message message)VElementVisitor. visit(Message message)Visit an error message and the context in which it occured.
-