# NoSuchPodDefinitionException.byTypeWithMessage constructor

NoSuchPodDefinitionException.byTypeWithMessage(

1. Class type,
2. String message

)

Create a new NoSuchPodDefinitionException by type with custom message.

## Implementation

    NoSuchPodDefinitionException.byTypeWithMessage(Class type, String message)
        : name = null,
          resolvableType = ResolvableType.forClass(type.getOriginal()),
          super("No qualifying pod of type '${type.getOriginal()}' available: $message");