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) (#4848)

(cherry picked from commit f0910d4)
  • Loading branch information
wikumChamith authored Nov 22, 2024
1 parent bbc8ff6 commit 7c76777
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,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 7c76777

Please sign in to comment.