return list;
} catch (EOFException ex) {
//log.debug(" --- Shell Impl --- readBuffer() EOFException caught...");
if (p != null && p.getThrowable() != null) {
//log.debug(" --- Shell Impl --- readBuffer() throwing throwable...");
throw new ShellIOException(p.getThrowable());
} else {
//log.debug(" --- Shell Impl --- readBuffer() throwing EOFException...");
throw ex;
}
} catch (IOException ex) {
throw ex;
} catch (Exception ex) {
//log.debug(" --- Shell Impl --- readBuffer() Exception caught...");
log.error(ex.getMessage(), ex);
//log.debug("Throwing ShellException... " + ex.getMessage());
throw new ShellIOException(ex);
}
}