B is wrong Join point: A point during the execution of a program, such as the execution of a method or the handling of an exception. In Spring AOP, a join point always represents a method execution. Join point information is available in advice bodies by declaring a parameter of type org.aspectj.lang.JoinPoint
@After have nothing to do with throwing exceptions, this advise works when advised method returns success(not throwing any exception). There is a special advise which can handle this behavior of returning throwing exception is called @AfterThrowing
BD are correct answers for this. because A and other options are totally wrong.
upvoted 2 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Uteman
1 month, 3 weeks ago2211094
4 months, 3 weeks ago2211094
5 months, 1 week ago