hi
I want to use jeha in maven.
At first I can not install jeha-plugin.1.0 from maven repository,so I installed it from its jeha-plugin.jar in my local reposirty.It seems that jeha-plugin and jeha-core was successfully installed in my maven local repositury,but when i run this code ,nothing be happend and console dose not show which i managed in MyHandel.class.
TestException.class:
@ExceptionHandler(handler=MyHandler.class)
private void throwNullPointerException() {
String str = null;
str.charAt(1);//NullPointerException happend
}
MyHandler.class:
public Throwable handle(NullPointerException arg, Object... obj) {
System.out.println("NullPointerException Occured!");//this message was not shown in my console return arg; }
please help me how to use jeha in maven in desktop application.
Thanks in advance
honey
Hi,
To use JEHA inside Maven you have to configure the JEHA plugin.
Try to add this to your pom.xml:
Regards,
Andre
On 14 June 2014 20:28, honey honeyboloorchi@users.sf.net wrote:
Related
Support Requests: #2
Last edit: Andre Dantas Rocha 2014-06-15