if (quickParser.javaCodeThrowsException()) {
scope.startLine("try {\n");
scope.indentRight();
quickParser.writeParseQuickCode(scope, valueRef, "r1");
scope.startLine("result = r1;\n");
scope.indentLeft();
scope.startLine("} catch (" + Util.BASE_PACKAGE + ".JsonProtocolParseException e) {\n");
scope.startLine(" throw new " + Util.BASE_PACKAGE + ".JsonProtocolParseException(" +
"\"Failed to parse field " + fieldName + " in type ");
scope.append(typeClass.getName() + "\", e);\n");
scope.startLine("}\n");