Package io.netty.resolver.dns
Class DnsErrorCauseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.netty.resolver.dns.DnsErrorCauseException
-
- All Implemented Interfaces:
java.io.Serializable
public final class DnsErrorCauseException extends java.lang.RuntimeException
A metadata carrier exception, to propagateDnsResponseCode
information as an enrichment within theUnknownHostException
cause.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
DnsResponseCode
getCode()
Returns the DNS error-code that caused theUnknownHostException
.
-
-
-
Method Detail
-
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Overrides:
fillInStackTrace
in classjava.lang.Throwable
-
getCode
public DnsResponseCode getCode()
Returns the DNS error-code that caused theUnknownHostException
.- Returns:
- the DNS error-code that caused the
UnknownHostException
.
-
-