# NoUniquePodDefinitionException.byTypeWithNamesAndMessage constructor

NoUniquePodDefinitionException.byTypeWithNamesAndMessage(

1. Class type,
2. List<String> podNamesFound,
3. String message

)

Create a new NoUniquePodDefinitionException with a type, pod names, and custom message.

## Implementation

    NoUniquePodDefinitionException.byTypeWithNamesAndMessage(
        Class type, List<String> podNamesFound, String message)
        : numberOfPodsFound = podNamesFound.length,
          podNamesFound = List.unmodifiable(podNamesFound),
          super.byTypeWithMessage(type, message);