improve error messages

This commit is contained in:
Sebastian Sdorra
2013-05-23 14:10:01 +02:00
parent d2f038b056
commit 9f848c9e33

View File

@@ -120,7 +120,8 @@ public class AetherPluginHandler
}
catch (JAXBException ex)
{
throw new ConfigurationException(ex);
throw new ConfigurationException(
"could not create jaxb context for classpath file", ex);
}
classpathFile = new File(localRepositoryDirectory,
@@ -135,7 +136,7 @@ public class AetherPluginHandler
}
catch (JAXBException ex)
{
logger.error(ex.getMessage(), ex);
logger.error("could not read classpath file", ex);
}
}
@@ -294,7 +295,8 @@ public class AetherPluginHandler
}
catch (Exception ex)
{
throw new PluginException(ex);
throw new PluginException(
"could not collect dependencies or store classpath file", ex);
}
}