Overview

Throwable Utility for Aspects

This project is a small Java utility used with AspectJ which allows any checked exception to be re-thrown as an unchecked RuntimeException. This allows aspects to generically throw any checked exception without the compiler complaining. The Byte Code Engineering Library (BCEL) from Apache is used to accomplish this.

This project was originally created to support VirtualMock , a mock objects framework based on Aspect Oriented Programming. Ron Bodkin had already dealt with this issue, and discussed it on the Aspect-Oriented Programming user's mailing list .

Acknowledgements

Many thanks to Ron Bodkin for the original idea behind this project.

Throwable Utility for Aspects is hosted on SourceForge .