Class Upload.FailedEvent

    • Constructor Detail

      • FailedEvent

        public FailedEvent​(Upload source,
                           String filename,
                           String mimeType,
                           long length,
                           Exception reason)
        Deprecated.
        Parameters:
        source - the event source object
        filename - the received file name.
        mimeType - the MIME type of the received file.
        length - the length of the received file.
        reason - the exception that got raised that caused the failure.
      • FailedEvent

        public FailedEvent​(Upload source,
                           String filename,
                           String mimeType,
                           long length)
        Deprecated.
        Parameters:
        source - the event source object
        filename - the received file name.
        mimeType - the MIME type of the received file.
        length - the length of the received file.
    • Method Detail

      • getReason

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