Better messaging to user on parse errors.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6953 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
#
|
||||
plugin.net.sourceforge.pmd.jedit.PMDJEditPlugin.name=PMDPlugin
|
||||
plugin.net.sourceforge.pmd.jedit.PMDJEditPlugin.author=Jiger Patel, Tom Copeland, Alan Ezust, Dale Anson
|
||||
plugin.net.sourceforge.pmd.jedit.PMDJEditPlugin.version=3.0
|
||||
plugin.net.sourceforge.pmd.jedit.PMDJEditPlugin.version=3.0.1
|
||||
plugin.net.sourceforge.pmd.jedit.PMDJEditPlugin.docs=doc/jedit.html
|
||||
plugin.net.sourceforge.pmd.jedit.PMDJEditPlugin.depend.0=jdk 1.5
|
||||
plugin.net.sourceforge.pmd.jedit.PMDJEditPlugin.depend.1=jedit 04.03.03.00
|
||||
|
@ -300,7 +300,7 @@ public class PMDJEditPlugin extends EBPlugin
|
||||
|
||||
catch (PMDException pmde)
|
||||
{
|
||||
String msg="Error while processing " + buffer.getPath() + ":\n" + pmde.getMessage();
|
||||
String msg="Error while processing " + buffer.getPath() + ":\n" + pmde.getMessage() + "\n\n" + pmde.getCause();
|
||||
Log.log(Log.ERROR, this, msg, pmde);
|
||||
JOptionPane.showMessageDialog(view, msg, "PMD", JOptionPane.ERROR_MESSAGE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user