com.vaadin.ui.

Class Upload.FailedEvent

    • Constructor Detail

      • FailedEvent

        public FailedEvent​(Upload source,
                           String filename,
                           String mimeType,
                           long length,
                           Exception reason)

        Parameters:

        source -

        filename -

        mimeType -

        length -

        reason -

      • FailedEvent

        public FailedEvent​(Upload source,
                           String filename,
                           String mimeType,
                           long length)

        Parameters:

        source -

        filename -

        mimeType -

        length -

    • Method Detail

      • getReason

        public Exception getReason()

        Gets the exception that caused the failure.

        Returns:

        the exception that caused the failure, null if n/a