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
Fields in com.google.inject with type parameters of type MessageModifier and TypeFieldDescriptionprivate final com.google.common.collect.ImmutableSet<Message> ConfigurationException.messagesprivate final com.google.common.collect.ImmutableSet<Message> CreationException.messagesprivate final com.google.common.collect.ImmutableSet<Message> ProvisionException.messagesMethods 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
Fields in com.google.inject.internal with type parameters of type MessageModifier and TypeFieldDescriptionErrors.errorsnull unless (root == this) and error messages exist.private final com.google.common.collect.ImmutableList<Message> InternalProvisionException.errorsMethods 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.(package private) static MessageMessages.mergeSources(List<Object> sources, Message message) Prepends the list of sources to the givenMessageMethods in com.google.inject.internal that return types with arguments of type MessageModifier and TypeMethodDescription(package private) com.google.common.collect.ImmutableList<Message> InternalProvisionException.getErrors()Errors.getMessages()static Collection<Message> Errors.getMessagesFromThrowable(Throwable throwable) Methods in com.google.inject.internal with parameters of type MessageModifier and TypeMethodDescriptionvoidErrors.addMessage(Message message) voidHandles a user-reported error.(package private) static MessageMessages.mergeSources(List<Object> sources, Message message) Prepends the list of sources to the givenMessageMethod 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) Constructors in com.google.inject.internal with parameters of type MessageConstructor parameters in com.google.inject.internal with type arguments of type Message -
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.private static com.google.common.collect.ImmutableList<Message> private static com.google.common.collect.ImmutableList<Message> Methods in com.google.inject.spi with parameters of type MessageModifier and TypeMethodDescriptionvoidvoidRecords an error message to be presented to the user at a later time.Visit an error message and the context in which it occured.