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. messages
private com.google.common.collect.ImmutableSet<Message>
CreationException. messages
private com.google.common.collect.ImmutableSet<Message>
ProvisionException. messages
Methods 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 void
AbstractModule. addError(Message message)
void
Binder. addError(Message message)
Records an error message to be presented to the user at a later time.protected void
PrivateModule. 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. errors
null unless (root == this) and error messages exist.private com.google.common.collect.ImmutableList<Message>
InternalProvisionException. errors
Methods in com.google.inject.internal that return Message Modifier and Type Method Description static Message
Messages. create(java.lang.String messageFormat, java.lang.Object... arguments)
Creates a new Message without a cause.static Message
Messages. create(java.lang.Throwable cause, java.lang.String messageFormat, java.lang.Object... arguments)
Creates a new Message with the given cause.static Message
Messages. 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 Message
Messages. mergeSources(java.util.List<java.lang.Object> sources, Message message)
Prepends the list of sources to the givenMessage
Methods 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 void
EncounterImpl. addError(Message message)
Errors
Errors. addMessage(Message message)
void
ErrorHandler. handle(Message message)
Handles a user-reported error.(package private) static Message
Messages. mergeSources(java.util.List<java.lang.Object> sources, Message message)
Prepends the list of sources to the givenMessage
java.lang.Boolean
MessageProcessor. visit(Message message)
Method parameters in com.google.inject.internal with type arguments of type Message Modifier and Type Method Description static java.lang.String
Messages. formatMessages(java.lang.String heading, java.util.Collection<Message> errorMessages)
Returns the formatted message for an exception with the specified messages.static java.lang.Throwable
Messages. getOnlyCause(java.util.Collection<Message> messages)
Returns the cause throwable if there is exactly one cause inmessages
.Errors
Errors. 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 void
Elements.RecordingBinder. addError(Message message)
void
TypeEncounter. addError(Message message)
Records an error message to be presented to the user at a later time.V
DefaultElementVisitor. visit(Message message)
V
ElementVisitor. visit(Message message)
Visit an error message and the context in which it occured.
-