📜  通量指针异常 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:51.410000             🧑  作者: Mango

代码示例1
@Repository 
@Override
public Mono getJobById(Long id)  {
    if(jobStores.get(id) == null) throw new ClientNotfoundException();
    return Mono.just(jobStores.get(id)).onErrorResume(e -> Mono.error(new ClientNotfoundException("Correct ID is required"+e)));
}