public class TypeDependencyNotAvailableException extends RuntimeException
Inject annotated constructor is not available in the current scope| Modifier and Type | Method and Description |
|---|---|
static TypeDependencyNotAvailableException |
from(TypeQualifier<?> type)
Produce a
TypeDependencyNotAvailableException instance for the
specified TypeQualifier |
static TypeDependencyNotAvailableException |
from(TypeQualifier<?> type,
Throwable cause)
Produce a
TypeDependencyNotAvailableException instance for the
specified TypeQualifier |
TypeQualifier<?> |
qualifier()
The injection qualifier
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TypeQualifier<?> qualifier()
TypeQualifier instancepublic static TypeDependencyNotAvailableException from(TypeQualifier<?> type)
TypeDependencyNotAvailableException instance for the
specified TypeQualifiertype - The qualified type that could not be resolvedTypeDependencyNotAvailableException instancepublic static TypeDependencyNotAvailableException from(TypeQualifier<?> type, Throwable cause)
TypeDependencyNotAvailableException instance for the
specified TypeQualifiertype - The qualified type that could not be resolvedcause - The exception that occurred whilst attempting to resolve the
TypeQualifierTypeDependencyNotAvailableException instance