1 package cz.cuni.amis.pogamut.multi.utils.exception;
2
3 /**
4 * This exception is thrown when an object is requested from any WorldView under an unlockedTimeKey == (!worldView.isLocked(timeKey)).
5 * Using an object returned by this call may result in nondeterministic behavior. Use at your own risk.
6 * @author srlok
7 *
8 */
9 public class TimeKeyNotLockedException extends Exception {
10
11 private String msg;
12
13 @Override
14 public String toString()
15 {
16 return "TimeKeyNotLockedException [ " + msg + " ] ";
17 }
18
19 public TimeKeyNotLockedException(String message) {
20 msg = message;
21 }
22
23 /**
24 *
25 */
26 private static final long serialVersionUID = 1L;
27
28 }