Class RedirectionLoopException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.dmfs.httpessentials.exceptions.ProtocolException
org.dmfs.httpessentials.exceptions.UnexpectedStatusException
org.dmfs.httpessentials.exceptions.RedirectionException
org.dmfs.httpessentials.exceptions.RedirectionLoopException
- All Implemented Interfaces:
Serializable
An
Exception that's thrown when a redirection loop has been detected.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRedirectionLoopException(HttpStatus statusCode, URI redirectingLocation, URI newLocation) Create a new redirection loop exception for the given status, source and destination. -
Method Summary
Methods inherited from class org.dmfs.httpessentials.exceptions.RedirectionException
newLocation, redirectingLocationMethods inherited from class org.dmfs.httpessentials.exceptions.UnexpectedStatusException
statusMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RedirectionLoopException
Create a new redirection loop exception for the given status, source and destination.- Parameters:
statusCode- TheHttpStatusof the redirect.redirectingLocation- The source of the redirect.newLocation- The destination of the redirect.
-