Class DnsNameResolverException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable fillInStackTrace()  
      DnsQuestion question()
      Returns the DnsQuestion of the DNS query that has failed.
      java.net.InetSocketAddress remoteAddress()
      Returns the InetSocketAddress of the DNS query that has failed.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DnsNameResolverException

        public DnsNameResolverException​(java.net.InetSocketAddress remoteAddress,
                                        DnsQuestion question,
                                        java.lang.String message)
      • DnsNameResolverException

        public DnsNameResolverException​(java.net.InetSocketAddress remoteAddress,
                                        DnsQuestion question,
                                        java.lang.String message,
                                        java.lang.Throwable cause)
    • Method Detail

      • remoteAddress

        public java.net.InetSocketAddress remoteAddress()
        Returns the InetSocketAddress of the DNS query that has failed.
      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        Overrides:
        fillInStackTrace in class java.lang.Throwable