mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 20:11:23 +02:00
to allow installing api or EGroupware without phpgwapi, old exceptions which we have to extend in order allow old apps to catch exceptions thrown from new api, have to reside in api/inc and get autoloaded
This commit is contained in:
24
api/inc/class.egw_exception_db_invalid_sql.inc.php
Normal file
24
api/inc/class.egw_exception_db_invalid_sql.inc.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* EGroupware API - old deprecated exceptions
|
||||
*
|
||||
* @link http://www.egroupware.org
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @package api
|
||||
* @subpackage accounts
|
||||
* @access public
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
use EGroupware\Api;
|
||||
|
||||
/**
|
||||
* Classic invalid SQL error
|
||||
*
|
||||
* New InvalidSql exception has to extend deprecated egw_exception_db_invalid_sql
|
||||
* to allow legacy code to catch exceptions thrown by Api\Db!
|
||||
*
|
||||
* @deprecated use Api\Db\Exception\InvalidSql
|
||||
*/
|
||||
class egw_exception_db_invalid_sql extends Api\Db\Exception {}
|
Reference in New Issue
Block a user