Skip to content

Commit

Permalink
OPENNLP-1090: Remove code from BaseToolFactory to prints errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kottmann committed Jun 8, 2017
1 parent aae0f29 commit 8d7e1c3
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -113,8 +113,6 @@ public static BaseToolFactory create(String subclassName,
} catch (Exception e) {
String msg = "Could not instantiate the " + subclassName
+ ". The initialization throw an exception.";
System.err.println(msg);
e.printStackTrace();
throw new InvalidFormatException(msg, e);
}
return theFactory;
Expand All @@ -131,8 +129,6 @@ public static BaseToolFactory create(Class<? extends BaseToolFactory> factoryCla
String msg = "Could not instantiate the "
+ factoryClass.getCanonicalName()
+ ". The initialization throw an exception.";
System.err.println(msg);
e.printStackTrace();
throw new InvalidFormatException(msg, e);
}
}
Expand Down

0 comments on commit 8d7e1c3

Please sign in to comment.