Class ViewBuildError

    • Constructor Detail

      • ViewBuildError

        public ViewBuildError()
    • Method Detail

      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • setDecoratedErrorDetailsFactory

        public void setDecoratedErrorDetailsFactory​(DecoratedErrorDetailsFactory decoratedErrorDetailsFactory)
      • setErrorHandler

        public void setErrorHandler​(ErrorHandler errorHandler)
      • setError

        public void setError​(String error)
        The error number provided by the UI
        Parameters:
        error - The number of the error
      • getErrorDetails

        public DecoratedErrorDetailsImpl getErrorDetails()
        Provide the UI with the ErrorDetails obtained from executing this action
        Returns:
        The error details