Tag: What is ‘Throws advice’ in Spring?
‘Throws Advice’ defines the behavior when an exception occurs. It is an interface and it has no methods which need to be implemented.
A class that implements this interface should have a method with this signature:
- Void samplethrow (Throw tablet)
- Void samplethrow(Method m, Object[] o, Object target, Throw tablet)