Fix errors in processing exception parameters