Class SaveFormException

java.lang.Object
java.lang.Throwable
java.lang.Exception
sk.iway.iwcm.components.multistep_form.support.SaveFormException
All Implemented Interfaces:
Serializable

public class SaveFormException extends Exception
Exception indicating a failure while saving a multistep form.

Provides context whether the error was caused by an end-user action and an optional error redirect target to navigate the user to a dedicated error page or step.

See Also:
  • Constructor Details

    • SaveFormException

      public SaveFormException(String message, boolean endUserTry, String errorRedirect)
    • SaveFormException

      public SaveFormException(String message, Throwable cause, boolean endUserTry, String errorRedirect)
    • SaveFormException

      public SaveFormException(Throwable cause, boolean endUserTry, String errorRedirect)
  • Method Details

    • isEndUserTry

      public boolean isEndUserTry()
    • getErrorRedirect

      public String getErrorRedirect()