gostaria de fazer um retorno notFound, e outros mas sem if else,
está me devolvendo erro 500 ao invés de 404 javax.persistence.EntityNotFoundException\r\n\tat java.base/java.util.Optional.orElseThrow(Optional.java:403)\r\n\tat com.example.orcamentofamiliar.service.DespesaService.isFound(DespesaService.java:68)\r\n\tat com.example.orcamentofamiliar.Controllers.DespesasControlller.buscarPorId(DespesasControlller.java:74)\r\n\tat com.example.orcamentofamiliar.Controllers.DespesasControlller$$FastClassBySpringCGLIB$$f23ea1ab.invoke()\r\n\tat org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)\r\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)\r\n\tat org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)\r\n\tat org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterc