Uses of Class
com.google.inject.spi.Message
Packages that use Message
Package
Description
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
Guice (sounds like "juice")
Guice service provider interface
-
Uses of Message in com.google.inject
Methods in com.google.inject that return types with arguments of type MessageModifier and TypeMethodDescriptionConfigurationException.getErrorMessages()Returns messages for the errors that caused this exception.CreationException.getErrorMessages()Returns messages for the errors that caused this exception.ProvisionException.getErrorMessages()Returns messages for the errors that caused this exception.Methods in com.google.inject with parameters of type MessageModifier and TypeMethodDescriptionprotected voidvoidRecords an error message to be presented to the user at a later time.protected final voidConstructor parameters in com.google.inject with type arguments of type MessageModifierConstructorDescriptionConfigurationException(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 MessageModifier and TypeMethodDescriptionstatic MessageCreates a new Message without a cause.static MessageCreates 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 MessageModifier and TypeMethodDescriptionErrors.getMessages()static Collection<Message> Errors.getMessagesFromThrowable(Throwable throwable) Methods in com.google.inject.internal with parameters of type MessageMethod parameters in com.google.inject.internal with type arguments of type MessageModifier and TypeMethodDescriptionstatic 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.Errors.merge(Collection<Message> messages) -
Uses of Message in com.google.inject.spi
Methods in com.google.inject.spi that return MessageModifier and TypeMethodDescriptionMessage.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 MessageModifier and TypeMethodDescriptionstatic 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