/// <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;
 }
 /// <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;
 }
 /// <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;
 }
 /// <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;
 }
 /// <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;
 }
 /// <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;
 }
 /// <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;
 }
 /// <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;
 }