Package org.xbill.DNS.lookup
Class RedirectOverflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.xbill.DNS.lookup.LookupFailedException
org.xbill.DNS.lookup.RedirectOverflowException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RedirectLoopException
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 Summary
ConstructorsConstructorDescriptionRedirectOverflowException(int maxRedirects) RedirectOverflowException(String message) Deprecated. -
Method Summary
Methods inherited from class org.xbill.DNS.lookup.LookupFailedException
getName, getTypeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RedirectOverflowException
Deprecated.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()
-
RedirectOverflowException(int).