1.

What Is ‘throws Advice’ In Spring?

Answer»

‘Throws ADVICE’ define 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 METHOD with this signature:

  • Void samplethrow (Throw table t)
  • Void samplethrow(Method m, Object[] o, Object TARGET, Throw tablet)

‘Throws Advice’ define 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 method with this signature:



Discussion

No Comment Found