dmBridge PHP API
DMInvalidRouteException.php
00001 <?php
00002 #
00003 # dmBridge: a data access framework for CONTENTdm(R)
00004 #
00005 # Copyright © 2009, 2010, 2011 Board of Regents of the Nevada System of Higher
00006 # Education, on behalf of the University of Nevada, Las Vegas
00007 #
00008 
00013 class DMInvalidRouteException extends DMException {
00014 
00015    private $route;
00016 
00022    public function __construct(DMRoute $route = null, $code = 5) {
00023       parent::__construct(DMLocalizedString::getString("INVALID_ROUTE"), $code);
00024       $this->route = $route;
00025       $this->setHTTPResponseCode(404);
00026    }
00027 
00028 }
 All Data Structures Functions Variables