com.vaadin.server.

Class UserError

  • All Implemented Interfaces:

    ErrorMessage, Serializable


    public class UserError
    extends AbstractErrorMessage

    UserError is a controlled error occurred in application. User errors are occur in normal usage of the application and guide the user.

    Since:

    3.0

    Author:

    Vaadin Ltd.

    See Also:

    Serialized Form

    • Constructor Detail

      • UserError

        public UserError(String textErrorMessage)

        Creates a textual error message of level ERROR.

        Parameters:

        textErrorMessage - the text of the error message.

      • UserError

        public UserError(String message,
                         AbstractErrorMessage.ContentMode contentMode,
                         ErrorLevel errorLevel)

        Creates an error message with level and content mode.

        Parameters:

        message - the error message.

        contentMode - the content Mode.

        errorLevel - the level of error.