Package | Description |
---|---|
com.google.inject.internal |
Guice (sounds like "juice")
|
com.google.inject.spi |
Guice service provider interface
|
Modifier and Type | Field and Description |
---|---|
protected ErrorId |
InternalErrorDetail.errorId |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.collect.ImmutableSet<ErrorId> |
InternalErrorDetail.DOCUMENTED_ERRORS |
Modifier and Type | Method and Description |
---|---|
static ErrorId |
ErrorId.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorId[] |
ErrorId.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Errors |
Errors.addMessage(ErrorId errorId,
java.lang.String messageFormat,
java.lang.Object... arguments) |
private Errors |
Errors.addMessage(ErrorId errorId,
java.lang.Throwable cause,
java.lang.String messageFormat,
java.lang.Object... arguments) |
static InternalProvisionException |
InternalProvisionException.create(ErrorId errorId,
java.lang.String format,
java.lang.Object... arguments) |
static Message |
Messages.create(ErrorId errorId,
java.lang.String messageFormat,
java.lang.Object... arguments)
Creates a new Message without a cause.
|
static Message |
Messages.create(ErrorId errorId,
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.
|
static Message |
Messages.create(ErrorId errorId,
java.lang.Throwable cause,
java.lang.String messageFormat,
java.lang.Object... arguments)
Creates a new Message with the given cause.
|
static InternalProvisionException |
InternalProvisionException.errorInUserCode(ErrorId errorId,
java.lang.Throwable cause,
java.lang.String messageFormat,
java.lang.Object... arguments) |
Constructor and Description |
---|
GenericErrorDetail(ErrorId errorId,
java.lang.String message,
java.util.List<java.lang.Object> sources,
java.lang.Throwable cause) |
InternalErrorDetail(ErrorId errorId,
java.lang.String message,
java.util.List<java.lang.Object> sources,
java.lang.Throwable cause) |
Modifier and Type | Field and Description |
---|---|
private ErrorId |
Message.errorId |
Constructor and Description |
---|
Message(ErrorId errorId,
ErrorDetail<?> errorDetail) |
Message(ErrorId errorId,
java.util.List<java.lang.Object> sources,
java.lang.String message,
java.lang.Throwable cause) |
Message(GuiceInternal internalOnly,
ErrorId errorId,
ErrorDetail<?> errorDetail) |