/[cvs]/nfo/php/libs/net.php.pear/Tree/Error.php
ViewVC logotype

Contents of /nfo/php/libs/net.php.pear/Tree/Error.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Wed Jul 7 02:49:19 2004 UTC (20 years ago) by joko
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -1 lines
updated to Tree-0.2.4

1 <?php
2 //
3 // +----------------------------------------------------------------------+
4 // | PHP Version 4 |
5 // +----------------------------------------------------------------------+
6 // | Copyright (c) 1997-2003 The PHP Group |
7 // +----------------------------------------------------------------------+
8 // | This source file is subject to version 2.02 of the PHP license, |
9 // | that is bundled with this package in the file LICENSE, and is |
10 // | available at through the world-wide-web at |
11 // | http://www.php.net/license/2_02.txt. |
12 // | If you did not receive a copy of the PHP license and are unable to |
13 // | obtain it through the world-wide-web, please send a note to |
14 // | license@php.net so we can mail you a copy immediately. |
15 // +----------------------------------------------------------------------+
16 // | Authors: Wolfram Kriesing <wolfram@kriesing.de> |
17 // +----------------------------------------------------------------------+
18 //
19 // $Id: Error.php,v 1.3 2003/01/04 11:56:27 mj Exp $
20
21 /**
22 *
23 *
24 * @author Wolfram Kriesing <wolfram@kriesing.de>
25 * @package Tree
26 */
27 class Tree_Error extends PEAR_Error
28 {
29 /**
30 * @var string prefix for error messages.
31 */
32 var $error_message_prefix = "Tree Error: ";
33
34 /**
35 *
36 *
37 * @access public
38 * @version 2002/03/03
39 * @author Wolfram Kriesing <wolfram@kriesing.de>
40 * @param
41 * @return
42 */
43 function Tree_Error( $msg , $line , $file , $mode=null , $userinfo='no userinfo' )
44 {
45 $this->PEAR_Error( sprintf("%s <br/>in %s [%d].", $msg, $file, $line),
46 null , $mode , null, $userinfo );
47 }
48
49 } // end of class
50 ?>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed