Class ProjectControllerAdvice
java.lang.Object
com.winchesters.devopsify.controller.GeneralControllerAdviceImpl
com.winchesters.devopsify.controller.project.ProjectControllerAdvice
- All Implemented Interfaces:
GeneralControllerAdvice
- Direct Known Subclasses:
GitControllerAdvice
,JenkinsControllerAdvice
@Order(-2147483648)
@ControllerAdvice(assignableTypes=ProjectController.class)
public class ProjectControllerAdvice
extends GeneralControllerAdviceImpl
-
Field Summary
Fields inherited from interface com.winchesters.devopsify.controller.GeneralControllerAdvice
LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ErrorResponseDto>
handleException
(ProjectNotFoundException exception) Methods inherited from class com.winchesters.devopsify.controller.GeneralControllerAdviceImpl
handleBadRequest, handleException
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.winchesters.devopsify.controller.GeneralControllerAdvice
handleException
-
Constructor Details
-
ProjectControllerAdvice
public ProjectControllerAdvice()
-
-
Method Details
-
handleException
@ExceptionHandler(ProjectNotFoundException.class) public org.springframework.http.ResponseEntity<ErrorResponseDto> handleException(ProjectNotFoundException exception)
-