. * * @category Exception * @package GNUsocial * @author Mikael Nordfeldth * @copyright 2016 Free Software Foundation, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPLv3 * @link http://www.gnu.org/software/social/ */ if (!defined('GNUSOCIAL')) { exit(1); } class NoRouteMapException extends Exception { public $path; // The object with query that gave no results public function __construct($path) { $this->path = $path; parent::__construct(sprintf(_('Could not find a handler for the given path %s.'), _ve($this->path))); } }