diff options
Diffstat (limited to 'java/com/xagasoft/gats/KeyNotFoundException.java')
-rw-r--r-- | java/com/xagasoft/gats/KeyNotFoundException.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/java/com/xagasoft/gats/KeyNotFoundException.java b/java/com/xagasoft/gats/KeyNotFoundException.java new file mode 100644 index 0000000..d46fc47 --- /dev/null +++ b/java/com/xagasoft/gats/KeyNotFoundException.java | |||
@@ -0,0 +1,23 @@ | |||
1 | package com.xagasoft.gats; | ||
2 | |||
3 | public class KeyNotFoundException extends Exception | ||
4 | { | ||
5 | private Object oSrc = null; | ||
6 | private String sKey = null; | ||
7 | |||
8 | public KeyNotFoundException( Object oSrc, String sKey ) | ||
9 | { | ||
10 | this.oSrc = oSrc; | ||
11 | this.sKey = sKey; | ||
12 | } | ||
13 | |||
14 | public Object getSource() | ||
15 | { | ||
16 | return oSrc; | ||
17 | } | ||
18 | |||
19 | public String getKey() | ||
20 | { | ||
21 | return sKey; | ||
22 | } | ||
23 | } | ||