diff options
author | Jan Christopher Vogt <oss.nsp@cvogt.org> | 2017-06-16 01:43:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-16 01:43:32 -0400 |
commit | 104e3964ea6ff39e74d8abd96eeddc33c9422ce8 (patch) | |
tree | 6bfcb212390cc915ce16ca45bb0154ca470c8264 /compatibility/Dependency.java | |
parent | c8e56f1d45a31d9653fb69829cfac832143526c6 (diff) | |
parent | 96e471f914803f00dc646ebb05de24ede79227a4 (diff) | |
download | cbt-104e3964ea6ff39e74d8abd96eeddc33c9422ce8.tar.gz cbt-104e3964ea6ff39e74d8abd96eeddc33c9422ce8.tar.bz2 cbt-104e3964ea6ff39e74d8abd96eeddc33c9422ce8.zip |
Merge pull request #525 from cvogt/minor-fix-error-messages
minor fix to error messages
Diffstat (limited to 'compatibility/Dependency.java')
-rw-r--r-- | compatibility/Dependency.java | 6 |
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 |