public class TypeDependencyNotAvailableException extends RuntimeException
Inject
annotated constructor is not available in the current scopeModifier 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, toString
public TypeQualifier<?> qualifier()
TypeQualifier
instancepublic static TypeDependencyNotAvailableException from(TypeQualifier<?> type)
TypeDependencyNotAvailableException
instance for the
specified TypeQualifier
type
- The qualified type that could not be resolvedTypeDependencyNotAvailableException
instancepublic static TypeDependencyNotAvailableException from(TypeQualifier<?> type, Throwable cause)
TypeDependencyNotAvailableException
instance for the
specified TypeQualifier
type
- The qualified type that could not be resolvedcause
- The exception that occurred whilst attempting to resolve the
TypeQualifier
TypeDependencyNotAvailableException
instance