Source code: com/flexstor/common/threadmgr/NoSuchKeyException.java
1 /*
2 * NoSuchKeyException.java
3 *
4 * Copyright $Date: 2003/08/11 02:22:35 $ FLEXSTOR.net Inc.
5 *
6 * This work is licensed for use and distribution under license terms found at
7 * http://www.flexstor.org/license.html
8 *
9 */
10
11 package com.flexstor.common.threadmgr;
12
13 /**
14 * Exception thrown if a caller of the NotificationManager attempts to call sleep(sKey) or wake(sKey)
15 * on a Key not set by the NotificationManager itself.
16 * Classes using NotificationManager are not required to catch or rethrow the exception at compilation
17 * time.
18 */
19 public class NoSuchKeyException
20 extends RuntimeException
21 {
22 public NoSuchKeyException( String sKey )
23 {
24 super( sKey + " not defined by NotificationManager" );
25 }
26 }