Skip to content

Commit

Permalink
Merge pull request #93 from sesteel/master
Browse files Browse the repository at this point in the history
Removed reference to StackTraceElement
  • Loading branch information
sesteel committed Feb 25, 2014
2 parents 03de171 + efc0a4b commit acd4f36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Project details
group=com.readytalk
version=2.0.1
version=2.0.2


# Optimize the build environment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ public static TextTokenizer createTextTokenizer(TextTokenizerType type)
try {
textTokenizer = (TextTokenizer) Class.forName(type.classname).newInstance();
} catch (InstantiationException e) {
throw new RuntimeException("InstantiationException caught creating TextTokenizerType " + type + e.getStackTrace());
throw new RuntimeException("InstantiationException caught creating TextTokenizerType " + type + e);
} catch (IllegalAccessException e) {
throw new RuntimeException("IllegalAccessException caught creating TextTokenizerType " + type + e.getStackTrace());
throw new RuntimeException("IllegalAccessException caught creating TextTokenizerType " + type + e);
} catch (ClassNotFoundException e) {
throw new RuntimeException("ClassNotFoundException caught creating TextTokenizerType " + type + e.getStackTrace());
throw new RuntimeException("ClassNotFoundException caught creating TextTokenizerType " + type + e);
}

return textTokenizer;
Expand Down

0 comments on commit acd4f36

Please sign in to comment.