Ensure helpers call throwOnError();

JAVA-1254