| // +----------------------------------------------------------------------+ // // $Id: Error.php,v 1.3 2003/01/04 11:56:27 mj Exp $ /** * * * @author Wolfram Kriesing * @package Tree */ class Tree_Error extends PEAR_Error { /** * @var string prefix for error messages. */ var $error_message_prefix = "Tree Error: "; /** * * * @access public * @version 2002/03/03 * @author Wolfram Kriesing * @param * @return */ function Tree_Error( $msg , $line , $file , $mode=null , $userinfo='no userinfo' ) { $this->PEAR_Error( sprintf("%s
in %s [%d].", $msg, $file, $line), null , $mode , null, $userinfo ); } } // end of class ?>