for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\MediaBundle\Exception;
/**
* @author Andrey F. Mindubaev <[email protected]>
final class NoDriverException extends \RuntimeException
{
public function __construct($message = null, $code = 0, \Exception $previous = null)
parent::__construct(
null === $message ? 'The child node "db_driver" at path "sonata_media" must be configured.' : $message,
$code,
$previous
);
}