use of org.fagu.fmv.soft.exec.exception.ProcessBlockedException in project fmv by f-agu.
the class NoOverwriteDeblock method accept.
@Override
public void accept(ExceptionKnown exceptionKnown) throws IOException {
NestedException nestedException = exceptionKnown.getNestedException();
String lastLine = getLineIfBlocked(nestedException);
if (lastLine != null) {
throw new ProcessBlockedException(lastLine);
}
throw nestedException.getIOException();
}
Aggregations