cvs: pear /Net_GameServerQuery/GameServerQuery Error.php

From: Date: Fri, 21 Jan 2005 08:54:20 +0000
Subject: cvs: pear /Net_GameServerQuery/GameServerQuery Error.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-28720@lists.php.net to get a copy of this message
aidan Fri Jan 21 03:54:20 2005 EDT Modified files: /pear/Net_GameServerQuery/GameServerQuery Error.php Log: Added a little debugging info to the ParsingException. http://cvs.php.net/diff.php/pear/Net_GameServerQuery/GameServerQuery/Error.php?r1=1.5&r2=1.6&ty=u Index: pear/Net_GameServerQuery/GameServerQuery/Error.php diff -u pear/Net_GameServerQuery/GameServerQuery/Error.php:1.5 pear/Net_GameServerQuery/GameServerQuery/Error.php:1.6 --- pear/Net_GameServerQuery/GameServerQuery/Error.php:1.5 Mon Jan 17 23:41:59 2005 +++ pear/Net_GameServerQuery/GameServerQuery/Error.php Fri Jan 21 03:54:20 2005 @@ -16,16 +16,16 @@ // | Tom Buskens <ortega@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Error.php,v 1.5 2005/01/18 04:41:59 aidan Exp $ +// $Id: Error.php,v 1.6 2005/01/21 08:54:20 aidan Exp $ /** * ParsingException */ class ParsingException extends Exception { - public function __construct() + public function __construct($packetname) { - parent::__construct('Parsing Error'); + parent::__construct('Unable to parse "' . $packetname . '" packet'); } } @@ -38,7 +38,7 @@ { public function __construct() { - parent::__construct('Invalid Query Flag Error'); + parent::__construct('Invalid query flag'); } }

« previous php.pear.cvs (#28720) next »