protected void sendRequest() throws DisconnectException { try { request_.flush(rawSocketOutputStream_); } catch (java.io.IOException e) { throwCommunicationsFailure(e); } }
protected void sendRequest() throws DisconnectException { try { request_.flush(rawSocketOutputStream_); } catch (java.io.IOException e) { throwCommunicationsFailure(e); } }
protected final int flushScalarStreamSegment() throws DisconnectException { try { sendBytes(netAgent_.getOutputStream()); } catch (java.io.IOException ioe) { netAgent_.throwCommunicationsFailure(ioe); } dssLengthLocation_ = offset_; return DssConstants.MAX_DSS_LEN; }
protected final int flushScalarStreamSegment() throws DisconnectException { try { sendBytes(netAgent_.getOutputStream()); } catch (java.io.IOException ioe) { netAgent_.throwCommunicationsFailure(ioe); } dssLengthLocation_ = offset_; return DssConstants.MAX_DSS_LEN; }
final void throwDisconnectException(Throwable cause) throws DisconnectException { final NetAgent netAgent = this.netAgent_; if (netAgent == null) { throw new DisconnectException(null, new ClientMessageId( SQLState.COMMUNICATION_ERROR), cause.getMessage(), cause); } else { try { netAgent.close_(); } catch (Throwable t) { // deliberately ignored } netAgent.throwCommunicationsFailure(cause); } }
final void throwDisconnectException(Throwable cause) throws DisconnectException { final NetAgent netAgent = this.netAgent_; if (netAgent == null) { throw new DisconnectException(null, new ClientMessageId( SQLState.COMMUNICATION_ERROR), cause.getMessage(), cause); } else { try { netAgent.close_(); } catch (Throwable t) { // deliberately ignored } netAgent.throwCommunicationsFailure(cause); } }
protected final void flushExistingDSS() throws DisconnectException { try { if (simpleDssFinalize) { finalizeDssLength(); } else { finalizePreviousChainedDss(true); } sendBytes(netAgent_.getOutputStream()); } catch (java.io.IOException e) { netAgent_.throwCommunicationsFailure(e); } }
protected final void flushExistingDSS() throws DisconnectException { try { if (simpleDssFinalize) { finalizeDssLength(); } else { finalizePreviousChainedDss(true); } sendBytes(netAgent_.getOutputStream()); } catch (java.io.IOException e) { netAgent_.throwCommunicationsFailure(e); } }
netAgent_.throwCommunicationsFailure(ioe); } finally { if (agent_.loggingEnabled()) {
netAgent_.throwCommunicationsFailure(ioe); } finally { if (agent_.loggingEnabled()) {
sendBytes(netAgent_.getOutputStream()); } catch (java.io.IOException ioe) { netAgent_.throwCommunicationsFailure(ioe);
sendBytes(netAgent_.getOutputStream()); } catch (java.io.IOException ioe) { netAgent_.throwCommunicationsFailure(ioe);
sendBytes(netAgent_.getOutputStream()); } catch (java.io.IOException ioe) { netAgent_.throwCommunicationsFailure(ioe); sendBytes(netAgent_.getOutputStream()); } catch (java.io.IOException ioe) { netAgent_.throwCommunicationsFailure(ioe);
sendBytes(netAgent_.getOutputStream()); } catch (java.io.IOException ioe) { netAgent_.throwCommunicationsFailure(ioe); sendBytes(netAgent_.getOutputStream()); } catch (java.io.IOException ioe) { netAgent_.throwCommunicationsFailure(ioe);