Class RedirectException

    • Constructor Summary

      Constructors 
      Constructor Description
      RedirectException​(int httpStatusCode, java.lang.String message)
      Constructor.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RedirectException

        public RedirectException​(int httpStatusCode,
                                 java.lang.String message)
        Constructor.
        Parameters:
        httpStatusCode - http status code to be set to response.
        message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.