01: /* JFox, the OpenSource J2EE Application Server
02: *
03: * Copyright (C) 2002 huihoo.org
04: * Distributable under GNU LGPL license
05: * See the GNU Lesser General Public License for more details.
06: */
07:
08: package javax.management.modelmbean;
09:
10: /**
11: * Exception thrown when an invalid target object type is specified.
12: *
13: * @author <a href="mailto:young_yy@hotmail.org">Young Yang</a>
14: */
15:
16: public class InvalidTargetObjectTypeException extends Exception {
17:
18: // private Exception exception;
19:
20: public InvalidTargetObjectTypeException() {
21: super ("InvalidTargetObjectTypeException: ");
22: // exception = null;
23: }
24:
25: public InvalidTargetObjectTypeException(String s) {
26: super ("InvalidTargetObjectTypeException: " + s);
27: // exception = null;
28: }
29:
30: public InvalidTargetObjectTypeException(Exception e, String s) {
31: super (
32: "InvalidTargetObjectTypeException: "
33: + s
34: + (e == null ? "" : "\n\t triggered by:"
35: + e.toString()));
36: // exception = e;
37: }
38:
39: }
|