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)
}
}