public static final class AbstractInjector.AmbiguousComponentResolutionException extends PicoCompositionException
ComponentAdapter
s are not
distinct.Constructor and Description |
---|
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, toString
public AmbiguousComponentResolutionException(Class<?> ambiguousDependency, String[] componentKeys)
ambiguousDependency
- the unresolved dependency typecomponentKeys
- the ambiguous keys.public String getMessage()
getMessage
in class Throwable
public String[] getAmbiguousComponentKeys()
public void setComponent(String component)
public void setMember(AccessibleObject accessibleObject)
Copyright © 2003–2016 Codehaus. All rights reserved.