diff options
author | asafbennatan <asafbennatan@gmail.com> | 2020-09-14 20:46:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 20:46:31 +0300 |
commit | f1724a2205c036080ecadbfc9a7da971b2713a09 (patch) | |
tree | ab7b87878fd23b0159f6b7d7f46329658e067bc0 | |
parent | 971aa2e58d83b7f54b34df87518f5730720bfe82 (diff) | |
download | pf4j-f1724a2205c036080ecadbfc9a7da971b2713a09.tar.gz pf4j-f1724a2205c036080ecadbfc9a7da971b2713a09.zip |
added toString to WrongDependencyVersion to solve issue #396 (#397)
-rw-r--r-- | pf4j/src/main/java/org/pf4j/DependencyResolver.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pf4j/src/main/java/org/pf4j/DependencyResolver.java b/pf4j/src/main/java/org/pf4j/DependencyResolver.java index 45005e2..866eb93 100644 --- a/pf4j/src/main/java/org/pf4j/DependencyResolver.java +++ b/pf4j/src/main/java/org/pf4j/DependencyResolver.java @@ -267,6 +267,15 @@ public class DependencyResolver { return requiredVersion; } + @Override + public String toString() { + return "WrongDependencyVersion{" + + "dependencyId='" + dependencyId + '\'' + + ", dependentId='" + dependentId + '\'' + + ", existingVersion='" + existingVersion + '\'' + + ", requiredVersion='" + requiredVersion + '\'' + + '}'; + } } /** |