]> source.dussan.org Git - pf4j.git/commitdiff
added toString to WrongDependencyVersion to solve issue #396 (#397)
authorasafbennatan <asafbennatan@gmail.com>
Mon, 14 Sep 2020 17:46:31 +0000 (20:46 +0300)
committerGitHub <noreply@github.com>
Mon, 14 Sep 2020 17:46:31 +0000 (20:46 +0300)
pf4j/src/main/java/org/pf4j/DependencyResolver.java

index 45005e2db8755f0651c0c746a2f9264066e3d175..866eb9359bbdd36ea5834b48cf1fb1be1aec2165 100644 (file)
@@ -267,6 +267,15 @@ public class DependencyResolver {
             return requiredVersion;
         }
 
+        @Override
+        public String toString() {
+            return "WrongDependencyVersion{" +
+                "dependencyId='" + dependencyId + '\'' +
+                ", dependentId='" + dependentId + '\'' +
+                ", existingVersion='" + existingVersion + '\'' +
+                ", requiredVersion='" + requiredVersion + '\'' +
+                '}';
+        }
     }
 
     /**