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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Thu Feb 27 16:49:56 2003 UTC (21 years, 5 months ago) by joko
Branch: MAIN
+ initial commit, from PEAR

1 joko 1.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     // $Id: Error.php,v 1.3 2003/01/04 11:56:27 mj Exp $
21    
22     /**
23     *
24     *
25     * @author Wolfram Kriesing <wolfram@kriesing.de>
26     * @package Tree
27     */
28     class Tree_Error extends PEAR_Error
29     {
30     /**
31     * @var string prefix for error messages.
32     */
33     var $error_message_prefix = "Tree Error: ";
34    
35     /**
36     *
37     *
38     * @access public
39     * @version 2002/03/03
40     * @author Wolfram Kriesing <wolfram@kriesing.de>
41     * @param
42     * @return
43     */
44     function Tree_Error( $msg , $line , $file , $mode=null , $userinfo='no userinfo' )
45     {
46     $this->PEAR_Error( sprintf("%s <br/>in %s [%d].", $msg, $file, $line),
47     null , $mode , null, $userinfo );
48     }
49    
50     } // end of class
51     ?>

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