dmBridge PHP API
DMFileNotFoundException.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 DMFileNotFoundException extends DMException {
00014 
00019    public function __construct($msg = null, $code = 5) {
00020       $msg = DMLocalizedString::getString("FILE_NOT_FOUND") . $msg;
00021       parent::__construct($msg, $code);
00022       $this->setHTTPResponseCode(404);
00023    }
00024 
00025 }
 All Data Structures Functions Variables