[Cs-versionparse-commits] SF.net SVN: cs-versionparse:[8] trunk/0.1/cs_version.abstract.class.php
Status: Inactive
Brought to you by:
crazedsanity
|
From: <cra...@us...> - 2009-01-25 23:20:02
|
Revision: 8
http://cs-versionparse.svn.sourceforge.net/cs-versionparse/?rev=8&view=rev
Author: crazedsanity
Date: 2009-01-25 23:19:53 +0000 (Sun, 25 Jan 2009)
Log Message:
-----------
Fix exception to be more useful.
/cs_version.abstract.class.php:
* get_version():
-- when no file set, say so instead of generically saying it was unable
to find version information.
Modified Paths:
--------------
trunk/0.1/cs_version.abstract.class.php
Modified: trunk/0.1/cs_version.abstract.class.php
===================================================================
--- trunk/0.1/cs_version.abstract.class.php 2009-01-04 19:22:01 UTC (rev 7)
+++ trunk/0.1/cs_version.abstract.class.php 2009-01-25 23:19:53 UTC (rev 8)
@@ -81,7 +81,8 @@
}
}
else {
- throw new exception(__METHOD__ .": failed to retrieve version information");
+ throw new exception(__METHOD__ .": failed to retrieve version information, file " .
+ "(". $this->versionFileLocation .") does not exist or was not set");
}
return($retval);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|