Let's allow passing more meaningful constructs to RedirectException. This is more readable:

    throw new RedirectException(
        'user', 'view',
        array(
            'valid' => false
        )
    )