# NoSuchPodDefinitionException.byType constructor

NoSuchPodDefinitionException.byType(

1. Class type

)

Create a new NoSuchPodDefinitionException by type.

## Implementation

    NoSuchPodDefinitionException.byType(Class type)
        : name = null,
          resolvableType = ResolvableType.forClass(type.getOriginal()),
          super("No qualifying pod of type '${type.getOriginal()}' available in the current context");