command = getOption(_command).getString(); args = getOption(_args, (String) null); cwd = getOption(_cwd, (String) null); sourceIsXML = getOption(_source_is_xml, false); resultIsXML = getOption(_result_is_xml, false); errorsIsXML = getOption(_errors_is_xml, false); wrapResultLines = getOption(_wrap_result_lines, false); wrapErrorLines = getOption(_wrap_error_lines, false); if (getOption(_path_separator) != null) { pathSeparator = getOption(_path_separator).getString(); if (pathSeparator.length() != 1) { throw XProcException.stepError(63); if (getOption(_failure_threshold) != null) { failureThreshold = true; failureThresholdValue = Integer.parseInt(getOption(_failure_threshold).getString()); if (getOption(_arg_separator) != null) { argSeparator = getOption(_arg_separator).getString(); if (argSeparator.length() != 1) { throw XProcException.stepError(66); throw XProcException.dynamicError(6, "Reading source on " + getStep().getName()); Serializer serializer = makeSerializer();
command = getOption(_command).getString(); args = getOption(_args, (String) null); cwd = getOption(_cwd, (String) null); sourceIsXML = getOption(_source_is_xml, false); resultIsXML = getOption(_result_is_xml, false); errorsIsXML = getOption(_errors_is_xml, false); wrapResultLines = getOption(_wrap_result_lines, false); wrapErrorLines = getOption(_wrap_error_lines, false); if (getOption(_path_separator) != null) { pathSeparator = getOption(_path_separator).getString(); if (pathSeparator.length() != 1) { throw XProcException.stepError(63); if (getOption(_failure_threshold) != null) { failureThreshold = true; failureThresholdValue = Integer.parseInt(getOption(_failure_threshold).getString()); if (getOption(_arg_separator) != null) { argSeparator = getOption(_arg_separator).getString(); if (argSeparator.length() != 1) { throw XProcException.stepError(66); throw XProcException.dynamicError(6, "Reading source on " + getStep().getName()); Serializer serializer = makeSerializer();