Class GlobalExceptionHandler
java.lang.Object
org.qubership.integration.platform.sessions.exception.GlobalExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ExceptionDTO> handleGeneralException(Exception exception) org.springframework.http.ResponseEntity<ExceptionDTO> org.springframework.http.ResponseEntity<ExceptionDTO> importExceptionHandler(ImportException exception) org.springframework.http.ResponseEntity<ExceptionDTO> searchExceptionHandler(SearchException exception) org.springframework.http.ResponseEntity<ExceptionDTO>
-
Constructor Details
-
GlobalExceptionHandler
public GlobalExceptionHandler()
-
-
Method Details
-
handleGeneralException
@ExceptionHandler public org.springframework.http.ResponseEntity<ExceptionDTO> handleGeneralException(Exception exception) -
sessionsNotFoundExceptionHandler
@ExceptionHandler(SessionsNotFoundException.class) public org.springframework.http.ResponseEntity<ExceptionDTO> sessionsNotFoundExceptionHandler(SessionsNotFoundException exception) -
searchExceptionHandler
@ExceptionHandler(SearchException.class) public org.springframework.http.ResponseEntity<ExceptionDTO> searchExceptionHandler(SearchException exception) -
importExceptionHandler
@ExceptionHandler(ImportException.class) public org.springframework.http.ResponseEntity<ExceptionDTO> importExceptionHandler(ImportException exception) -
importConflictExceptionHandler
@ExceptionHandler(ImportConflictException.class) public org.springframework.http.ResponseEntity<ExceptionDTO> importConflictExceptionHandler(ImportConflictException exception)
-