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.remote;
10:
11: import java.io.IOException;
12:
13: /**
14: * @version $Revision: 1.5 $
15: */
16: public class JMXProviderException extends IOException {
17: /**
18: * @serial The Throwable cause
19: */
20: private Throwable cause;
21:
22: private static final long serialVersionUID = -3166703627550447198l;
23:
24: public JMXProviderException() {
25: }
26:
27: public JMXProviderException(String message) {
28: super (message);
29: }
30:
31: public JMXProviderException(String message, Throwable cause) {
32: super (message);
33: this .cause = cause;
34: }
35:
36: public Throwable getCause() {
37: return cause;
38: }
39: }
|