All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.causecode.fileuploader.UploadFailureException.groovy Maven / Gradle / Ivy

package com.causecode.fileuploader

/**
 * Exception class
 * Exception is thrown if any error is encountered during file upload to CDN.
 */
class UploadFailureException extends StorageException {

    UploadFailureException(String message, Throwable throwable) {
        super(message, throwable)
    }

    UploadFailureException(String fileName, String containerName, Throwable throwable) {
        super("Could not upload file $fileName to container $containerName", throwable)
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy