Improved exception handling for parameter list parser. Closes #97.