Himanshu Jain
Himanshu Jain
How to throw exception if one of the operations faile ``` Try request = Try.withCatch(() -> Convertor.fromJsonToPojo(payload, PepRequest.class)) .onFail(e -> LOG.error("failed to serialize Json payload:{} exception:{}",payload, e)) .map(pepReq -> (new...
When i want to try like as follows Try.witchCatch(()->a()).onFail().map(()->b()).. where b() throws an exception as well, it says b with unhandled exception, who do deal in such situation? we can...
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities) ``` public interface UserRepository extends...