From 8f1c06c5a6ce73c691579507dcd05d0f7559e251 Mon Sep 17 00:00:00 2001 From: Dale Anson Date: Tue, 9 Jun 2009 17:45:28 +0000 Subject: [PATCH] Better messaging to user on parse errors. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@6953 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-jedit/PMDPlugin/PMDPlugin.props | 2 +- .../PMDPlugin/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pmd-jedit/PMDPlugin/PMDPlugin.props b/pmd-jedit/PMDPlugin/PMDPlugin.props index 5e68a9e5d2..92d21e134f 100644 --- a/pmd-jedit/PMDPlugin/PMDPlugin.props +++ b/pmd-jedit/PMDPlugin/PMDPlugin.props @@ -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 diff --git a/pmd-jedit/PMDPlugin/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java b/pmd-jedit/PMDPlugin/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java index c8dfb9fa06..5a5c208672 100644 --- a/pmd-jedit/PMDPlugin/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java +++ b/pmd-jedit/PMDPlugin/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java @@ -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); }