*/
package org.onap.nbi.exceptions;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
@ControllerAdvice
public class ApiExceptionHandler {
- private static final Logger LOGGER = LoggerFactory.getLogger(ApiExceptionHandler.class);
-
@ExceptionHandler(BackendFunctionalException.class)
@ResponseBody