Tweaked some more exceptions, get messages passed

This commit is contained in:
Dinnerbone
2011-01-05 22:56:12 +00:00
parent c0f2052627
commit dd843748fa
4 changed files with 8 additions and 8 deletions

View File

@@ -81,10 +81,6 @@ public final class PluginDescriptionFile {
}
private void loadMap(Map<String, Object> map) throws InvalidDescriptionException {
if (name == null) {
throw new InvalidDescriptionException("Name is not defined");
}
try {
name = map.get("name").toString();
} catch (NullPointerException ex) {