Class JenkinsControllerAdvice
java.lang.Object
com.winchesters.devopsify.controller.GeneralControllerAdviceImpl
com.winchesters.devopsify.controller.project.ProjectControllerAdvice
com.winchesters.devopsify.controller.jenkins.JenkinsControllerAdvice
- All Implemented Interfaces:
GeneralControllerAdvice
-
Field Summary
Fields inherited from interface com.winchesters.devopsify.controller.GeneralControllerAdvice
LOG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ErrorResponseDto>
handleJenkinsException
(int statusCode, JenkinsException exception) org.springframework.http.ResponseEntity<ErrorResponseDto>
Methods inherited from class com.winchesters.devopsify.controller.project.ProjectControllerAdvice
handleException
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
-
JenkinsControllerAdvice
public JenkinsControllerAdvice()
-
-
Method Details
-
handleJenkinsException
@ExceptionHandler(JenkinsException.class) public org.springframework.http.ResponseEntity<ErrorResponseDto> handleJenkinsException(int statusCode, JenkinsException exception) -
handleJenkinsServerException
@ExceptionHandler(JenkinsServerException.class) public org.springframework.http.ResponseEntity<ErrorResponseDto> handleJenkinsServerException(JenkinsServerException exception)
-