17 lines
452 B
Java
17 lines
452 B
Java
package eu.openaire.urls_worker.exceptions;
|
|
|
|
import org.springframework.http.HttpStatus;
|
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
|
|
|
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
|
|
public class FileStorageException extends RuntimeException {
|
|
|
|
public FileStorageException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
public FileStorageException(String message, Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
}
|