AmbiguousDependencyException

class AmbiguousDependencyException(val type: Type, val candidates: List<String>, val building: String? = null, val parameter: String? = null) : IllegalStateException

Several dependencies are of type, the candidates by their names, and none is the one to take: the parameter of building names one with a qualifier (@Name), or the host marks one primary.

Constructors

Link copied to clipboard
constructor(type: Type, candidates: List<String>, building: String? = null, parameter: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Type

Functions

Link copied to clipboard
fun of(building: String?, parameter: String): AmbiguousDependencyException

This ambiguity, of the parameter of building.