示例#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;
 }
示例#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;
 }
示例#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;
 }
示例#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;
 }
示例#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;
 }
示例#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;
 }
示例#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;
 }
示例#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;
 }