Exception::getPrevious() is for PHP 5.3+