Class ExceptionHandler


  • public class ExceptionHandler
    extends Object
    Crypto Signature Utils
    Author:
    Urvil Joshi
    • Method Detail

      • authExceptionHandler

        public static void authExceptionHandler​(org.springframework.web.client.HttpStatusCodeException ex,
                                                List<ServiceError> validationErrorsList,
                                                String source)
      • throwExceptionIfExist

        public static void throwExceptionIfExist​(org.springframework.http.ResponseEntity<String> response)
      • getResponse

        public static <S> S getResponse​(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                        org.springframework.http.ResponseEntity<String> response,
                                        Class<S> clazz)