|
||||||||||
| 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
jfun.yan.YanException
jfun.yan.AmbiguousComponentResolutionException
public final class AmbiguousComponentResolutionException
Exception when ambiguity happens for component resolution.
Codehaus.org.
| Constructor Summary | |
|---|---|
AmbiguousComponentResolutionException(java.lang.Object key,
java.lang.Class t1,
java.lang.Class t2)
Create an instance. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getComponentKey()
Gets the key for the component being resolved. |
java.lang.Class |
getType1()
Gets the type of the first candidate component.s |
java.lang.Class |
getType2()
Gets the type of the second candidate component.s |
| Methods inherited from class jfun.yan.YanException |
|---|
clearResolutionTrace, getResolutionTrace, printResolutionTrace, printResolutionTrace, printResolutionTrace, printStackTrace, printStackTrace, push |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AmbiguousComponentResolutionException(java.lang.Object key,
java.lang.Class t1,
java.lang.Class t2)
key - the key of the component being resolved.t1 - the type of the first candidate.t2 - the type of the second candidate.| Method Detail |
|---|
public java.lang.Object getComponentKey()
public java.lang.Class getType1()
public java.lang.Class getType2()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||