public class RecursiveRedirectionException
extends java.lang.RuntimeException
Constructor and Description |
---|
RecursiveRedirectionException(java.net.URL url,
java.lang.String message)
Create a new
RecursiveRedirectionException with the
specified URL and detail message. |
RecursiveRedirectionException(java.net.URL url,
java.lang.String message,
java.lang.Throwable cause)
Create a new
RecursiveRedirectionException with the
specified URL, detail message and cause. |
RecursiveRedirectionException(java.net.URL url,
java.lang.Throwable cause)
Create a new
RecursiveRedirectionException with the
specified URL and cause. |
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getURL()
Returns the URL that caused this exception to be thrown.
|
public RecursiveRedirectionException(java.net.URL url, java.lang.Throwable cause)
RecursiveRedirectionException
with the
specified URL and cause.url
- the URL
that caused the recursive loop to be detectedcause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is permitted, and
indicates that the cause is nonexistent or unknown.)public RecursiveRedirectionException(java.net.URL url, java.lang.String message)
RecursiveRedirectionException
with the
specified URL and detail message.url
- the URL
that caused the recursive loop to be
detected. The URL is saved for later retrieval by
getURL()
message
- the detail message. The detail message is saved for later
retrieval by Throwable.getMessage()
public RecursiveRedirectionException(java.net.URL url, java.lang.String message, java.lang.Throwable cause)
RecursiveRedirectionException
with the
specified URL, detail message and cause.url
- the URL
that caused the recursive loop to be
detected. The URL is saved for later retrieval by
getURL()
message
- the detail message. The detail message is saved for later
retrieval by Throwable.getMessage()
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is permitted, and
indicates that the cause is nonexistent or unknown.)