Package 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 -
        exception -
      • FailedEvent

        public FailedEvent​(Upload source,
                           String filename,
                           String MIMEType,
                           long length)
        Parameters:
        source -
        filename -
        MIMEType -
        length -
        exception -
    • Method Detail

      • getReason

        public Exception getReason()
        Gets the exception that caused the failure.
        Returns:
        the exception that caused the failure, null if n/a