use PHP 5.3 exception linking throughout, refs #1308