src/Payum/Core/Exception/RequestNotSupportedException.php
public static function assertSupports(ActionInterface $action, $request)
    {
        if (false == $action->supports($request)) {
            throw static::createActionNotSupported($action, $request);
        }
    }
public static function assertSupports(ActionInterface $action, $request)
    {
        if (false == $action->supports($request)) {
            throw static::createActionNotSupported($action, $request);
        }
    }
@param \Payum\Core\Action\ActionInterface $action
@param mixed                              $request

@throws RequestNotSupportedException