Class DnsErrorCauseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.netty.resolver.dns.DnsErrorCauseException
- All Implemented Interfaces:
Serializable
A metadata carrier exception, to propagate
DnsResponseCode information as an enrichment
within the UnknownHostException cause.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the DNS error-code that caused theUnknownHostException.Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTracein classThrowable
-
getCode
Returns the DNS error-code that caused theUnknownHostException.- Returns:
- the DNS error-code that caused the
UnknownHostException.
-