Package com.vaadin.ui

Class Upload.FailedEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      FailedEvent​(Upload source, java.lang.String filename, java.lang.String mimeType, long length)  
      FailedEvent​(Upload source, java.lang.String filename, java.lang.String mimeType, long length, java.lang.Exception reason)  
    • Constructor Detail

      • FailedEvent

        public FailedEvent​(Upload source,
                           java.lang.String filename,
                           java.lang.String mimeType,
                           long length,
                           java.lang.Exception reason)
        Parameters:
        source -
        filename -
        mimeType -
        length -
        reason -
      • FailedEvent

        public FailedEvent​(Upload source,
                           java.lang.String filename,
                           java.lang.String mimeType,
                           long length)
        Parameters:
        source -
        filename -
        mimeType -
        length -
    • Method Detail

      • getReason

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