ExceptionThrower.java | Class | Throws an exception without declaring it!.
This class is just ment for testing purposes and used by the Surrogate AspectJ code.
It is not used "in place" but decompiled using the BCEL JasminVisitor and
re-assembled using Jasmin to remove the "throws" clause.
The reason why this class exists is that, when creating "mockPointcuts", the
corresponding "around" advices would have to declare a "throw" clause
for some pointcuts but not for others. |