/// <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;
 }
 public void Abort(AAbort aa)
 {
     NDC.Push(name);
     try {
         fsm.Write(aa);
     }
     finally {
         NDC.Pop();
     }
 }
 /// <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;
 }
Exemple #4
0
 internal override void Write(AAbort abort)
 {
 }
Exemple #5
0
 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);
 }
Exemple #6
0
 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;
     }
 }
Exemple #7
0
 internal override void Write(AAbort abort)
 {
     m_fsm.ChangeState(m_fsm.STA1);
 }