01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package javax.management.modelmbean;
10:
11: /**
12: * @version $Revision: 1.7 $
13: */
14: // In JMX 1.2 this class will extend JMException
15: public class InvalidTargetObjectTypeException extends
16: /*JMException*/Exception {
17: private static final long serialVersionUID = 1190536278266811217L;
18:
19: private Exception exception;
20:
21: public InvalidTargetObjectTypeException() {
22: }
23:
24: public InvalidTargetObjectTypeException(String message) {
25: super (message);
26: }
27:
28: public InvalidTargetObjectTypeException(Exception x, String message) {
29: super(message);
30: this.exception = x;
31: }
32: }
|