[PATCH] More DefinitionException improvements

"Vincent Massol" <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.devel
Message-ID <022a01c3cf11$b7270fd0$2502a8c0@vma>
Hi,

Here are a few more improvements for usages of DefinitionException (I've
had to add some of them to debug what's going wrong - usually simply
some jar not in the classpath). It's almost impossible to figure this
out without this patch :-)

Ex:

aspectwerkz:weave:
    [java] org.codehaus.aspectwerkz.compiler.CompileException: weaver
failed for class: java.lang.Ob
ject
[...]
    [java] nested:
    [java] org.codehaus.aspectwerkz.exception.DefinitionException:
method pattern is not well formed
: * someMethod(..)
[...]
    [java] java.lang.NoClassDefFoundError:
com/karneim/util/collection/regex/Pattern
[...]

Thanks

-Vincent
Wanna see JUnit in Action?
(http://manning.com/massol)
definitionexception.patch2 (application/octet-stream, 2.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.