Top Description Fields Constructors Methods
com.google.inject.internal

pack-priv abstract Class InternalErrorDetail<T extends ErrorDetail<T>>

extends ErrorDetail<T extends ErrorDetail<T>>
Class Inheritance
Known Direct Subclasses
com.google.inject.internal.ScopeNotFoundError, com.google.inject.internal.DuplicateElementError, com.google.inject.internal.DuplicateMapKeyError, com.google.inject.internal.GenericErrorDetail, com.google.inject.internal.MissingConstructorError, com.google.inject.internal.MissingImplementationError, com.google.inject.internal.BindingAlreadySetError, com.google.inject.internal.ChildBindingAlreadySetError
Imports
com.google.common.base.CaseFormat, com.google.common.collect.ImmutableSet, com.google.inject.spi.ErrorDetail, java.util.List, .Optional

Represents an error created by Guice as opposed to custom error added to the binder from application code.

Field Summary

Modifier and TypeField and Description
private static final String
private static final ImmutableSet<ErrorId>
protected final ErrorId

Constructor Summary

AccessConstructor and Description
protected
InternalErrorDetail(ErrorId errorId, String message, List<Object> sources, Throwable cause)

Method Summary

Modifier and TypeMethod and Description
protected final Optional<String>
getErrorIdentifier()

Overrides com.google.inject.spi.ErrorDetail.getErrorIdentifier.

Returns an optional string identifier for this error.
Inherited from com.google.inject.spi.ErrorDetail:
equalsformatformatDetailgetCausegetMessagegetSourceshashCodeisMergeablewithSources

Field Detail

DOC_BASE_URLback to summary
private static final String DOC_BASE_URL
DOCUMENTED_ERRORSback to summary
private static final ImmutableSet<ErrorId> DOCUMENTED_ERRORS
errorIdback to summary
protected final ErrorId errorId

Constructor Detail

InternalErrorDetailback to summary
protected InternalErrorDetail(ErrorId errorId, String message, List<Object> sources, Throwable cause)

Method Detail

getErrorIdentifierback to summary
protected final Optional<String> getErrorIdentifier()

Overrides com.google.inject.spi.ErrorDetail.getErrorIdentifier.

Doc from com.google.inject.spi.ErrorDetail.getErrorIdentifier.

Returns an optional string identifier for this error.

Annotations
@Override