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
Fields in com.google.inject with type parameters of type Message Modifier and Type Field Description private com.google.common.collect.ImmutableSet<Message>ConfigurationException. messagesprivate com.google.common.collect.ImmutableSet<Message>CreationException. messagesprivate com.google.common.collect.ImmutableSet<Message>ProvisionException. messagesMethods in com.google.inject that return types with arguments of type Message Modifier and Type Method Description java.util.Collection<Message>ConfigurationException. getErrorMessages()Returns messages for the errors that caused this exception.java.util.Collection<Message>CreationException. getErrorMessages()Returns messages for the errors that caused this exception.java.util.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(java.lang.Iterable<Message> messages)Creates a ConfigurationException containingmessages.CreationException(java.util.Collection<Message> messages)Creates a CreationException containingmessages.ProvisionException(java.lang.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 Message Modifier and Type Field Description private java.util.List<Message>Errors. errorsnull unless (root == this) and error messages exist.private com.google.common.collect.ImmutableList<Message>InternalProvisionException. errorsMethods in com.google.inject.internal that return Message Modifier and Type Method Description static MessageMessages. create(java.lang.String messageFormat, java.lang.Object... arguments)Creates a new Message without a cause.static MessageMessages. create(java.lang.Throwable cause, java.lang.String messageFormat, java.lang.Object... arguments)Creates a new Message with the given cause.static MessageMessages. create(java.lang.Throwable cause, java.util.List<java.lang.Object> sources, java.lang.String messageFormat, java.lang.Object... arguments)Creates a new Message with the given cause and a binding source stack.(package private) static MessageMessages. mergeSources(java.util.List<java.lang.Object> sources, Message message)Prepends the list of sources to the givenMessageMethods in com.google.inject.internal that return types with arguments of type Message Modifier and Type Method Description (package private) com.google.common.collect.ImmutableList<Message>InternalProvisionException. getErrors()java.util.List<Message>Errors. getMessages()static java.util.Collection<Message>Errors. getMessagesFromThrowable(java.lang.Throwable throwable)Methods in com.google.inject.internal with parameters of type Message Modifier and Type Method Description voidEncounterImpl. addError(Message message)ErrorsErrors. addMessage(Message message)voidErrorHandler. handle(Message message)Handles a user-reported error.(package private) static MessageMessages. mergeSources(java.util.List<java.lang.Object> sources, Message message)Prepends the list of sources to the givenMessagejava.lang.BooleanMessageProcessor. visit(Message message)Method parameters in com.google.inject.internal with type arguments of type Message Modifier and Type Method Description static java.lang.StringMessages. formatMessages(java.lang.String heading, java.util.Collection<Message> errorMessages)Returns the formatted message for an exception with the specified messages.static java.lang.ThrowableMessages. getOnlyCause(java.util.Collection<Message> messages)Returns the cause throwable if there is exactly one cause inmessages.ErrorsErrors. merge(java.util.Collection<Message> messages)Constructors in com.google.inject.internal with parameters of type Message Constructor Description InternalProvisionException(Message error)Constructor parameters in com.google.inject.internal with type arguments of type Message Constructor Description InternalProvisionException(java.lang.Iterable<Message> errors) -
Uses of Message in com.google.inject.spi
Methods in com.google.inject.spi with parameters of type Message Modifier and Type Method Description voidElements.RecordingBinder. addError(Message message)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.
-