Aspectj Cookbook

A.4. The SoftException Class

The SoftException class is used when declaring exceptions that are thrown on a join point as softened into runtime exceptions.

Recipe 12.5 shows how exception softening is used.

Категории