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 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(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 Message
Messages. create(String messageFormat, Object... arguments)
Creates a new Message without a cause.static Message
Messages. create(Throwable cause, String messageFormat, Object... arguments)
Creates a new Message with the given cause.static Message
Messages. create(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 Errors
Errors. addMessage(Message message)
Method parameters in com.google.inject.internal with type arguments of type Message Modifier and Type Method Description static String
Messages. formatMessages(String heading, Collection<Message> errorMessages)
Returns the formatted message for an exception with the specified messages.static Throwable
Messages. getOnlyCause(Collection<Message> messages)
Returns the cause throwable if there is exactly one cause inmessages
.Errors
Errors. merge(Collection<Message> messages)
-
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
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.
-