private void setExceptionCaught()

in src/main/java/org/apache/commons/exec/DefaultExecutor.java [521:525]


    private void setExceptionCaught(final IOException e) {
        if (exceptionCaught == null) {
            exceptionCaught = e;
        }
    }