o throwing required exception

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293439 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2005-10-03 19:26:42 +00:00
parent cc5a6695c1
commit 449e42223f
1 changed files with 8 additions and 8 deletions

View File

@ -131,15 +131,15 @@ public class DescribeMojo
if ( pluginPrefix != null )
{
// try
// {
try
{
descriptor = pluginManager.getPluginDescriptorForPrefix( pluginPrefix );
// }
// catch ( PluginManagerException e )
// {
// throw new MojoExecutionException( "Error retrieving plugin descriptor for prefix: \'" + pluginPrefix
// + "\'.", e );
// }
}
catch ( PluginManagerException e )
{
throw new MojoExecutionException( "Error retrieving plugin descriptor for prefix: \'" + pluginPrefix
+ "\'.", e );
}
}
else if ( groupId != null && artifactId != null )
{