public void Abort(AAbort aa) { NDC.Push(name); try { fsm.Write(aa); } finally { NDC.Pop(); } }
internal virtual void Write(AAbort abort) { try { abort.WriteTo(m_fsm.stream); } catch (IOException e) { m_fsm.ChangeState(m_fsm.STA1); throw e; } m_fsm.ChangeState(m_fsm.STA13); }
internal override void Write(AAbort abort) { }
public void Write(AAbort abort) { FireWrite(abort); try { lock( stream ) { state.Write(abort); } } catch (IOException ioe) { if (assocListener != null) assocListener.Error(assoc, ioe); throw ioe; } }
internal override void Write(AAbort abort) { m_fsm.ChangeState(m_fsm.STA1); }
private void Abort(String msg) { AAbort aa = new AAbort(AAbort.SERVICE_USER, 0); fsm.Write(aa); throw new PduException(msg, aa); }
/// <summary> /// Constructs a new throwable with the specified detail message and /// cause and corresponding A-Abort Pdu. /// </summary> /// <param name="msg">the detail message. /// </param> /// <param name="cause">the cause. /// </param> /// <param name="abort">corresponding A-Abort Pdu. /// /// </param> //UPGRADE_NOTE: Exception 'java.lang.Throwable' was converted to ' ' which has different behavior. 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="jlca1100"' public PduException(String msg, Exception cause, AAbort abort) : base(msg, cause) { this.abort = abort; }
/// <summary> /// Constructs an instance of <code>PduException</code> with the /// specified detail message and corresponding A-Abort Pdu. /// </summary> /// <param name="msg"> /// the detail message. /// </param> /// <param name="abort"> /// corresponding A-Abort Pdu. /// </param> public PduException(String msg, AAbort abort) : base(msg) { this.abort = abort; }