SimTk/openmm — pull request #585 by jchodera (2014-08-14 02:44:48+00:00)
Title: More informative error messages for Context::getParameter() and setParameter()

This PR causes `Context::getParameter()` and `Context::setParameter()` to return the name of the incorrect parameter passed to them to aid debugging.

The previous error message just printed
```
Called setParameter() with invalid parameter name
```