|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.glassfish.hk2.api.HK2RuntimeException
org.glassfish.hk2.api.UnsatisfiedDependencyException
public class UnsatisfiedDependencyException
This exception will be found in a 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 Summary | |
|---|---|
UnsatisfiedDependencyException()
Use this if the injectee is unknown |
|
UnsatisfiedDependencyException(Injectee injectee)
Constructs the exception with the given injectee |
|
| Method Summary | |
|---|---|
Injectee |
getInjectee()
Returns the injectee that is unsatisfied |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UnsatisfiedDependencyException()
public UnsatisfiedDependencyException(Injectee injectee)
injectee - The injectee that is Unsatisfied, or null if the injectee is unknown| Method Detail |
|---|
public Injectee getInjectee()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||