NoResponseException¶
NoResponseException is thrown when no UDP response is received from the target DNS server after all retry attempts have been exhausted.
Purpose¶
- Signal to the caller that a DNS lookup failed at the transport level (no reply received), as opposed to a parsing failure.
Context¶
- Namespace:
SAIF.Framework.DNS - Assembly/package:
SAIF.BOF.Framework.DNS - Base type:
SystemException
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| NoResponseException() | public NoResponseException() |
Default constructor with no message or inner exception. |
| NoResponseException(Exception) | public NoResponseException(Exception innerException) |
Constructs the exception wrapping an inner exception, with no message. |
| NoResponseException(string, Exception) | public NoResponseException(string message, Exception innerException) |
Constructs the exception with a message and an inner exception. |
Behavioral notes¶
- The class is marked
[Serializable]and includes aprotecteddeserialization constructor (SerializationInfo,StreamingContext) for binary serialization support. - Thrown by
Resolver.UdpTransfer(internal toResolver.Lookup) after up to 2 retries fail to yield a matching-id UDP reply; enforces BR-005.
Sources¶
- SAIF.Framework.DNS\NoResponseException.cs