Esempio n. 1
0
 /// <summary>
 /// Intializes an exception with the specified <paramref name="error"/>
 /// </summary>
 /// <param name="error">The specific error subtype.</param>
 /// <param name="serverIP">The IPAddress of the DNS Server which returned the error</param>
 public DnsProtocolException(DnsProtocolError error, IPAddress serverIP)
 {
     m_error = error;
     m_serverIP = serverIP;
 }
Esempio n. 2
0
 /// <summary>
 /// Intializes an exception with the specified <paramref name="error"/> and a reference to the underlying exception
 /// </summary>
 /// <param name="error">The specific error subtype.</param>
 /// <param name="inner">The exception that was the trigger for this one.</param>
 public DnsProtocolException(DnsProtocolError error, Exception inner)
     : base(inner)
 {
     m_error = error;
 }
Esempio n. 3
0
 /// <summary>
 /// Intializes an exception with the specified <paramref name="error"/>
 /// </summary>
 /// <param name="error">The specific error subtype.</param>
 /// <param name="message">message associated with this exception</param>
 public DnsProtocolException(DnsProtocolError error, string message)
     : base(message)
 {
     m_error = error;
 }
Esempio n. 4
0
 /// <summary>
 /// Intializes an exception with the specified <paramref name="error"/>
 /// </summary>
 /// <param name="error">The specific error subtype.</param>
 public DnsProtocolException(DnsProtocolError error)
 {
     m_error = error;
 }
Esempio n. 5
0
 /// <summary>
 /// Intializes an exception with the specified <paramref name="error"/>
 /// </summary>
 /// <param name="error">The specific error subtype.</param>
 /// <param name="serverIP">The IPAddress of the DNS Server which returned the error</param>
 public DnsProtocolException(DnsProtocolError error, IPAddress serverIP)
 {
     m_error    = error;
     m_serverIP = serverIP;
 }
Esempio n. 6
0
 /// <summary>
 /// Intializes an exception with the specified <paramref name="error"/>
 /// </summary>
 /// <param name="error">The specific error subtype.</param>
 /// <param name="message">message associated with this exception</param>
 public DnsProtocolException(DnsProtocolError error, string message)
     : base(message)
 {
     m_error = error;
 }
Esempio n. 7
0
 /// <summary>
 /// Intializes an exception with the specified <paramref name="error"/> and a reference to the underlying exception
 /// </summary>
 /// <param name="error">The specific error subtype.</param>
 /// <param name="inner">The exception that was the trigger for this one.</param>
 public DnsProtocolException(DnsProtocolError error, Exception inner)
     : base(inner)
 {
     m_error = error;
 }
Esempio n. 8
0
 /// <summary>
 /// Intializes an exception with the specified <paramref name="error"/>
 /// </summary>
 /// <param name="error">The specific error subtype.</param>
 public DnsProtocolException(DnsProtocolError error)
 {
     m_error = error;
 }