Class GitControllerAdvice
java.lang.Object
com.winchesters.devopsify.controller.GeneralControllerAdviceImpl
com.winchesters.devopsify.controller.project.ProjectControllerAdvice
com.winchesters.devopsify.controller.git.GitControllerAdvice
- 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>handleGitAPIException(GitAPIException exception) org.springframework.http.ResponseEntity<ErrorResponseDto>handleGitException(int statusCode, GitException exception) org.springframework.http.ResponseEntity<ErrorResponseDto>handleGitException(GitException exception) org.springframework.http.ResponseEntity<ErrorResponseDto>handleGitInternalException(GitInternalException exception) org.springframework.http.ResponseEntity<ErrorResponseDto>Methods inherited from class com.winchesters.devopsify.controller.project.ProjectControllerAdvice
handleExceptionMethods inherited from class com.winchesters.devopsify.controller.GeneralControllerAdviceImpl
handleBadRequest, handleExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.winchesters.devopsify.controller.GeneralControllerAdvice
handleException
-
Constructor Details
-
GitControllerAdvice
public GitControllerAdvice()
-
-
Method Details
-
handleGitException
@ExceptionHandler(GitException.class) public org.springframework.http.ResponseEntity<ErrorResponseDto> handleGitException(int statusCode, GitException exception) -
handleGitException
@ExceptionHandler(GitException.class) public org.springframework.http.ResponseEntity<ErrorResponseDto> handleGitException(GitException exception) -
handleGitNotInstalledException
@ExceptionHandler(GitNotInstalledException.class) public org.springframework.http.ResponseEntity<ErrorResponseDto> handleGitNotInstalledException(GitNotInstalledException exception) -
handleGitAPIException
@ExceptionHandler(GitAPIException.class) public org.springframework.http.ResponseEntity<ErrorResponseDto> handleGitAPIException(GitAPIException exception) -
handleGitInternalException
@ExceptionHandler(GitInternalException.class) public org.springframework.http.ResponseEntity<ErrorResponseDto> handleGitInternalException(GitInternalException exception)
-