무슨 이야기냐면, 최소 권한 원칙인가… 그런거랑 비슷한겁니다. 바로 예제를 보면서 살펴보죠. @Aspect public class HibernateExceptionToDataAccessException { @Pointcut(“@within(org.springframework.stereotype.Repository)”) public void accountHibernateExceptionInDao(){} @AfterThrowing(pointcut=”accountHibernateExceptionInDao()”, throwing=”e”) public void translateHibernateException(HibernateException e){