JBMAR-145 Use correct method name in exception.