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: * Thrown when invalid XML formatted strings are used to specify Descriptor fields.
13: *
14: * @version $Revision: 1.3 $
15: */
16: public class XMLParseException extends Exception {
17: private static final long serialVersionUID = 0x2c15c79a5801029dL;
18:
19: public XMLParseException() {
20: }
21:
22: public XMLParseException(String message) {
23: super (message);
24: }
25:
26: public XMLParseException(Exception x, String message) {
27: super (message + " - " + x);
28: }
29: }
|