Class RedirectException

All Implemented Interfaces:
Serializable

public class RedirectException
extends FilterException
This exception may be thrown if a filter wants to reject something and redirect the user elsewhere.
Since:
2.1.112
See Also:
Serialized Form
  • Constructor Details

    • RedirectException

      public RedirectException​(String msg, String redirect)
      Constructs a new RedirectException.
      Parameters:
      msg - The message for the exception
      redirect - The redirect URI.
  • Method Details

    • getRedirect

      public String getRedirect()
      Get the URI for redirection.
      Returns:
      The URI given in the constructor.