OnlineBuddies/Modyllic — pull request #92 by iarna (2012-03-16 05:51:31+00:00)
Title: Stop using 5.3 Exception form and just rethrow non-general errors

All proc fetches are wrapped up in a try/catch block that catches general errors and provides some diagnostic hints. (General errors, in this case, are almost always caused by calling fetch after calling a proc that didn't call SELECT.)

This patch makes them work with PHP 5.2-- it had previously been bundling the original exception along in 5.3's previous exception slot.

This also now simply rethrows non-general errors rather then wrapping them.