aboutsummaryrefslogtreecommitdiff
path: root/compatibility/Dependency.java
diff options
context:
space:
mode:
Diffstat (limited to 'compatibility/Dependency.java')
-rw-r--r--compatibility/Dependency.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/compatibility/Dependency.java b/compatibility/Dependency.java
index d1d05b9..fda45cd 100644
--- a/compatibility/Dependency.java
+++ b/compatibility/Dependency.java
@@ -4,13 +4,13 @@ import java.io.*;
public interface Dependency{
// recently added methods that needs default values for old versions to work
public default String moduleKey(){
- throw new IncompatibleCbtVersionException("You need to define method moduleKey.");
+ throw new IncompatibleCbtVersionException("You need to override this method.");
};
public default long lastModified(){
- throw new IncompatibleCbtVersionException("You need to define method lastModified.");
+ throw new IncompatibleCbtVersionException("You need to override this method.");
};
public default ClassLoader classLoader(){
- throw new IncompatibleCbtVersionException("You need to define method classLoader.");
+ throw new IncompatibleCbtVersionException("You need to override this method.");
};
// methods that exist for longer which every CBT version in use should have by now, no default values needed