public class UnsatisfiedDependencyException extends HK2RuntimeException
MultiException when a class
has a dependency that should be satisfied but cannot be. The specific
InjectionPoint that could not be satisfied can be found in the exception.| Constructor and Description |
|---|
UnsatisfiedDependencyException()
Use this if the injectee is unknown
|
UnsatisfiedDependencyException(Injectee injectee)
Constructs the exception with the given injectee
|
| Modifier and Type | Method and Description |
|---|---|
Injectee |
getInjectee()
Returns the injectee that is unsatisfied
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UnsatisfiedDependencyException()
public UnsatisfiedDependencyException(Injectee injectee)
injectee - The injectee that is Unsatisfied, or null if the injectee is unknownpublic Injectee getInjectee()
Copyright © 2009–2019 Oracle Corporation. All rights reserved.