2 // vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
3 // +--------------------------------------------------------------------+
4 // | Ministerio de Economía |
5 // | AI (Administrador de Intranet) |
6 // +--------------------------------------------------------------------+
7 // | This file is part of AI. |
9 // | AI is free software; you can redistribute it and/or modify |
10 // | it under the terms of the GNU General Public License as published |
11 // | by the Free Software Foundation; either version 2 of the License, |
12 // | or (at your option) any later version. |
14 // | AI is distributed in the hope that it will be useful, but |
15 // | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 // | General Public License for more details. |
19 // | You should have received a copy of the GNU General Public License |
20 // | along with Hooks; if not, write to the Free Software Foundation, |
21 // | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 // +--------------------------------------------------------------------+
23 // | Creado: Thu Jun 26 16:49:08 2003 |
24 // | Autor: Leandro Lucarella <llucar@mecon.gov.ar> |
25 // +--------------------------------------------------------------------+
31 require_once 'PEAR.php';
35 * Error que indica que no hay más resultados en una base de datos.
37 * Es un error esperado y poco grave que sucede cada vez que se itera
38 * sobre un resultado de una base de datos.
40 define('AI_ERROR_NO_RESULTADOS', 1);
42 // +X2C Class 469 :AI_Error
46 class AI_Error extends PEAR_Error {
51 * @param int $codigo Cdigo de error.
52 * @param string $mensaje Mensaje para mostrar
57 function AI_Error($codigo, $mensaje = '') // ~X2C
59 $this->PEAR_Error($mensaje, $codigo);
63 } // -X2C Class :AI_Error