What is throws advice in Spring?
The ThrowsAdvice lets you definebehaviour should an exception occur. ThrowsAdvice is a marker interface and contains no method but need to be implemented. A class that implements this interface must have at least one method with either of the following two signatures: * void afterThrowing(Throwable t) * void afterThrowing(Method m, Object[] o, Object target, Throwable t)