public static final class AbstractInjector.AmbiguousComponentResolutionException extends PicoCompositionException
ComponentAdapters are not
distinct.| Constructor and Description |
|---|
AbstractInjector.AmbiguousComponentResolutionException(Class<?> ambiguousDependency,
String[] componentKeys)
Construct a new exception with the ambiguous class type and the ambiguous component keys.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAmbiguousComponentKeys() |
String |
getMessage() |
void |
setComponent(String component) |
void |
setMember(AccessibleObject accessibleObject) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AbstractInjector.AmbiguousComponentResolutionException(Class<?> ambiguousDependency, String[] componentKeys)
ambiguousDependency - the unresolved dependency typecomponentKeys - the ambiguous keys.public String getMessage()
getMessage in class Throwablepublic String[] getAmbiguousComponentKeys()
public void setComponent(String component)
public void setMember(AccessibleObject accessibleObject)
Copyright © 2003-2014 Codehaus. All Rights Reserved.