1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package net.wotonomy.access;
19
20 import net.wotonomy.foundation.NSDictionary;
21
22 /***
23 * Generic exception thrown by wotonomy.access.
24 *
25 * @author ezamudio@nasoft.com
26 * @author $Author: cgruber $
27 * @version $Revision: 893 $
28 */
29 public class EOGeneralAdaptorException extends RuntimeException implements java.io.Serializable {
30
31 private NSDictionary _userInfo;
32
33 public EOGeneralAdaptorException(String msg) {
34 super(msg);
35 }
36
37 public EOGeneralAdaptorException(String name, NSDictionary userInfo) {
38 super(name);
39 _userInfo = userInfo;
40 }
41
42 public EOGeneralAdaptorException(String selectorName, String className, String msg) {
43 super(msg);
44 _userInfo = new NSDictionary(
45 new Object[]{ selectorName, className },
46 new Object[]{ "selectorName", "className" });
47 }
48
49 public NSDictionary userInfo() {
50 return _userInfo;
51 }
52
53 }
54
55
56
57
58
59
60
61
62