<?php
/**
 * Created by mcfedr on 05/05/2014 20:12
 */

namespace AppShed\Extensions\StorageBundle\Exception;

class MissingAppParametersException extends \Exception
{
} 
<?php
/**
 * Created by mcfedr on 05/05/2014 20:12
 */

namespace AppShed\Extensions\StorageBundle\Exception;

use Symfony\Component\HttpKernel\Exception\HttpException;

class MissingAppParametersException extends HttpException
{
    public function __construct($message)
    {
        parent::__construct(400, $message);
    }
} 
Throw an HttpException when a bad request is made
Throw an HttpException when a bad request is made
