Symfony2 API
Class

Symfony\Component\Routing\Exception\InvalidParameterException

class InvalidParameterException extends InvalidArgumentException implements ExceptionInterface

Exception thrown when a parameter is not valid