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.Modifier and Type | Field and Description |
---|---|
private Injectee |
injectionPoint |
private static long |
serialVersionUID
For serialization
|
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
|
private static final long serialVersionUID
private final transient Injectee injectionPoint
public UnsatisfiedDependencyException()
public UnsatisfiedDependencyException(Injectee injectee)
injectee
- The injectee that is Unsatisfied, or null if the injectee is unknownpublic Injectee getInjectee()