You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.upload.

Class FileRejectedEvent

    • Constructor Detail

      • FileRejectedEvent

        public FileRejectedEvent​(Upload source,
                                 String errorMessage)

        Creates a new event using the given source and indicator whether the event originated from the client side or the server side.

        Parameters:

        source - the source component

        errorMessage - the error message

    • Method Detail

      • getErrorMessage

        public String getErrorMessage()

        Get the error message

        Returns:

        errorMessage