Parsing of @throws returning always errorcode 500

Because there is a array_shift before getting the numeric value for the error-code, the error-code is alwas 500. And i found no place, where the index "exception" is used.