Class ExceptionHandler
- java.lang.Object
-
- io.mosip.kernel.cryptosignature.exception.ExceptionHandler
-
public class ExceptionHandler extends Object
Crypto Signature Utils- Author:
- Urvil Joshi
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidauthExceptionHandler(org.springframework.web.client.HttpStatusCodeException ex, List<ServiceError> validationErrorsList, String source)static <S> SgetResponse(com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.http.ResponseEntity<String> response, Class<S> clazz)static voidthrowExceptionIfExist(org.springframework.http.ResponseEntity<String> response)
-
-
-
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)
-
-