Skip to content

Commit

Permalink
TRUNK-6287: Fix Exception Propagation Issue in ServiceContext.getRegi…
Browse files Browse the repository at this point in the history
…steredComponent Method (#4843)
  • Loading branch information
wikumChamith authored Nov 22, 2024
1 parent 30d6b74 commit f0910d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ public <T> T getRegisteredComponent(String beanName, Class<T> type) throws APIEx
return applicationContext.getBean(beanName, type);
}
catch (BeansException beanException) {
throw new APIException("service.error.during.getting.component", null, beanException);
throw new APIException("Error during getting registered component", beanException);
}
}

Expand Down

0 comments on commit f0910d4

Please sign in to comment.