Fixed Exception extends logic for hhvm ( https://github.com/facebook/hhvm/blob/HHVM-3.4.0/hphp/system/php/lang/Exception.php#L55 )