| Package | Description |
|---|---|
| com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.
|
| com.google.inject.internal |
Guice (sounds like like "juice")
|
| com.google.inject.spi |
Guice service provider interface
|
| Modifier and Type | Method and Description |
|---|---|
Collection |
CreationException.getErrorMessages()
Returns messages for the errors that caused this exception.
|
Collection |
ProvisionException.getErrorMessages()
Returns messages for the errors that caused this exception.
|
Collection |
ConfigurationException.getErrorMessages()
Returns messages for the errors that caused this exception.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Binder.addError(Message
Records an error message to be presented to the user at a later time.
|
protected void |
AbstractModule.addError(Message
|
protected void |
PrivateModule.addError(Message
|
| Constructor and Description | |
|---|---|
ConfigurationException(Iterable
Creates a ConfigurationException containing
messages.
|
|
CreationException(Collection
Creates a CreationException containing
messages.
|
|
ProvisionException(Iterable
Creates a ProvisionException containing
messages.
|
| Modifier and Type | Method and Description |
|---|---|
List |
Errors.getMessages()
|
static Collection |
Errors.getMessagesFromThrowable(Throwable
|
| Modifier and Type | Method and Description |
|---|---|
Errors |
Errors.addMessage(Message
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Errors.format(String
Returns the formatted message for an exception with the specified messages.
|
static Throwable |
Errors.getOnlyCause(Collection
Returns the cause throwable if there is exactly one cause in
messages.
|
Errors |
Errors.merge(Collection
|
| Modifier and Type | Method and Description |
|---|---|
void |
TypeEncounter.addError(Message
Records an error message to be presented to the user at a later time.
|
V |
ElementVisitor.visit(Message
Visit an error message and the context in which it occured.
|
V |
DefaultElementVisitor.visit(Message
|