diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-06-15 23:47:20 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-06-15 23:51:21 -0400 |
commit | 96e471f914803f00dc646ebb05de24ede79227a4 (patch) | |
tree | 6bfcb212390cc915ce16ca45bb0154ca470c8264 /compatibility/Context.java | |
parent | c8e56f1d45a31d9653fb69829cfac832143526c6 (diff) | |
download | cbt-96e471f914803f00dc646ebb05de24ede79227a4.tar.gz cbt-96e471f914803f00dc646ebb05de24ede79227a4.tar.bz2 cbt-96e471f914803f00dc646ebb05de24ede79227a4.zip |
minor fix to error messages
Diffstat (limited to 'compatibility/Context.java')
-rw-r--r-- | compatibility/Context.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compatibility/Context.java b/compatibility/Context.java index f0fa42c..218fcd7 100644 --- a/compatibility/Context.java +++ b/compatibility/Context.java @@ -7,16 +7,16 @@ import java.util.concurrent.*; public interface Context{ // recently added methods that needs default values for old versions to work public default long cbtLastModified(){ - throw new IncompatibleCbtVersionException("You need to define method cbtLastModified."); + throw new IncompatibleCbtVersionException("You need to override this method."); }; public default Map<Object,Object> persistentCache(){ - throw new IncompatibleCbtVersionException("You need to define method persistentCache."); + throw new IncompatibleCbtVersionException("You need to override this method."); }; public default Map<Object,Object> transientCache(){ - throw new IncompatibleCbtVersionException("You need to define method transientCache."); + throw new IncompatibleCbtVersionException("You need to override this method."); }; public default long start(){ - throw new IncompatibleCbtVersionException("You need to define method start."); + throw new IncompatibleCbtVersionException("You need to override this method."); }; public default File workingDirectory(){ return projectDirectory(); |