void (@NlsSafe String line, Key outputType) { if (ProcessOutputType.isStderr(outputType)) { myErrors.append(GitUtil.cleanupErrorPrefixes(line)).append("\n"); } else if (ProcessOutputType.isStdout(outputType)) { try { processOutputLine(line); } catch (ProcessCanceledException pce) { throw pce; } catch (VcsException e) { myException = e; } catch (Throwable e) { myException = new VcsException(e); } } }