Re: [aspectj-users] LTW fail hard/fast options (for testing)

2011-10-23 Thread Andy Clement
Right now perhaps the option you have here is -XmessageHandlerClass which is supplied the classname of a type implementing IMessageHandler - so you can then do what you want for any message that comes out. I guess you could use the type name of the THROW class if you wish, likely to be something

Re: [aspectj-users] LTW fail hard/fast options (for testing)

2011-10-23 Thread Brett Randall
Thanks Andy, your comments are spot-on. I did end up implementing a local IMessageHandler so I could throw something like an AssertionError. It didn't give me exactly what I was after, but it does improve the visibility of the test failure. The main issue is a combination of the LTW timing