for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* AnimeDb package.
*
* @author Peter Gribanov <[email protected]>
* @copyright Copyright (c) 2011, Peter Gribanov
* @license http://opensource.org/licenses/GPL-3.0 GPL v3
*/
namespace AnimeDb\Bundle\ShikimoriBrowserBundle\Exception;
class NotFoundException extends ErrorException
{
* @return NotFoundException
public static function page()
return new self('Page not found.');
}
* @param \Exception $e
public static function wrap(\Exception $e)
return new self($e->getMessage(), $e->getCode(), $e);