The NuoDB PHP PDO Driver catches C++ exceptions and stores the error information in the programmatic state of the PHP executable.  PHP decides when to throw a PHP exception based on the attribute PDO::ATTR_ERRMODE.   On closer inspection, I see your change is in the "--CLEAN--" section, so I guess it ok to not print the error information there, because "--CLEAN--" is not part of the test case.