Extracts exception-information to an array