dmBridge PHP API
DMIllegalArgumentException.php
00001 <?php
00002 #
00003 # dmBridge: a data access framework for CONTENTdm(R)
00004 # Copyright © 2009, 2010 Board of Regents of the Nevada System of Higher
00005 # Education, on behalf of the University of Nevada, Las Vegas
00006 #
00007 
00012 class DMIllegalArgumentException extends DMException {
00013 
00018    public function __construct($msg, $code = 5) {
00019       parent::__construct($msg, $code);
00020       $this->setHTTPResponseCode(400);
00021    }
00022 
00023 }
 All Data Structures Functions Variables