diff --git a/spring-cloud-modules/spring-cloud-openfeign-2/src/main/java/com/baeldung/cloud/openfeign/fileupload/controller/FileController.java b/spring-cloud-modules/spring-cloud-openfeign-2/src/main/java/com/baeldung/cloud/openfeign/fileupload/controller/FileController.java deleted file mode 100644 index abb71e82f9..0000000000 --- a/spring-cloud-modules/spring-cloud-openfeign-2/src/main/java/com/baeldung/cloud/openfeign/fileupload/controller/FileController.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.baeldung.cloud.openfeign.fileupload.controller; - -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestPart; -import org.springframework.web.bind.annotation.RestController; -import org.springframework.web.multipart.MultipartFile; - -import com.baeldung.cloud.openfeign.exception.NotFoundException; - -@RestController -public class FileController { - - @PostMapping(value = "/upload-error") - public String uploadFileWithFallback(@RequestPart(value = "file") MultipartFile file) throws NotFoundException { - throw new NotFoundException("Not Found!!!"); - } - -} \ No newline at end of file