Class RedirectOverflowException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RedirectLoopException

public class RedirectOverflowException extends LookupFailedException
Thrown if the lookup results in too many CNAME and/or DNAME indirections. This would be the case for example if two CNAME records point to each other.
Since:
3.4
See Also:
  • Constructor Details

    • RedirectOverflowException

      @Deprecated public RedirectOverflowException(String message)
      Do not use.
    • RedirectOverflowException

      public RedirectOverflowException(int maxRedirects)
      Parameters:
      maxRedirects - Informational, indicates the after how many redirects following was aborted.
      Since:
      3.4.2
  • Method Details

    • getMaxRedirects

      public int getMaxRedirects()