Class UserActionRequiredException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
ro.sync.ecss.extensions.api.webapp.plugin.UserActionRequiredException
All Implemented Interfaces:
Serializable

@API(src=PUBLIC, type=NOT_EXTENDABLE) public class UserActionRequiredException extends IOException
Class that extends an IOException with an WebappMessage that should be sent to the client-side code.
Since:
17
See Also:
  • Constructor Details

    • UserActionRequiredException

      public UserActionRequiredException(WebappMessage webappMessage)
      Constructor.
      Parameters:
      webappMessage - The webapp message.
  • Method Details

    • getUserMessage

      public WebappMessage getUserMessage()
      The message to be sent to the client-side code.
      Returns:
      The webapp message.
    • getUserMessage

      public UserActionRequiredMessage getUserMessage(URL url)
      The message to be sent to the client-side code.
      Parameters:
      url - The URL of the resource for which the user action required exception is thrown.
      Returns:
      The webapp message.