How it works...

This recipe offers a defensive way of validating any method's arguments during its execution. Using a typical custom annotation, aspects can validate any arguments in any methods, throw an Exception, or replace the value with some defaults at runtime.

Aggressive use of aspects in validating arguments can cause unexpected runtime errors or the degradation of software performance.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.16.81.33