Class DependencyMatchingException

  • All Implemented Interfaces:
    Serializable

    public class DependencyMatchingException
    extends OpMatchingException
    An OpMatchingException caused by another OpMatchingException thrown when resolving dependencies. We illustrate the need for DependencyMatchingException with an example: Suppose Op A has an dependency on Op B, which in turn has a dependency on Op C. Suppose further that A and B are found, but no C is found to satisfy B. This will result in an OpMatchingException thrown for Op A. We would want to know:
    1. that the request for A was not fulfilled
    2. that no match could be found for C, which was the cause for (1)
    This logic can be generalized for an arbitrarily long Op chain. TODO: Consider supporting non-DependencyMatchingException causes.
    Author:
    Gabriel Selzer
    See Also:
    Serialized Form