o Improved error message

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@809038 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-28 21:42:58 +00:00
parent de1813b2ea
commit add554b1d6
1 changed files with 4 additions and 2 deletions

View File

@ -366,11 +366,13 @@ public class DefaultMavenPluginManager
} }
catch ( PlexusConfigurationException e ) catch ( PlexusConfigurationException e )
{ {
throw new PluginManagerException( plugin, e.getMessage(), e ); throw new PluginManagerException( plugin, "Error in component graph of plugin " + plugin.getId() + ": "
+ e.getMessage(), e );
} }
catch ( CycleDetectedInComponentGraphException e ) catch ( CycleDetectedInComponentGraphException e )
{ {
throw new PluginManagerException( plugin, e.getMessage(), e ); throw new PluginManagerException( plugin, "Error in component graph of plugin " + plugin.getId() + ": "
+ e.getMessage(), e );
} }
} }