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:
Dale Anson
2009-06-09 17:45:28 +00:00
parent bc6b0339a0
commit 8f1c06c5a6
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);
}