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 JMXServerErrorException extends IOException {
17: /**
18: * @serial The Error cause
19: */
20: private Error cause;
21: private static final long serialVersionUID = 3996732239558744666l;
22:
23: public JMXServerErrorException(String message, Error error) {
24: super (message);
25: this .cause = error;
26: }
27:
28: public Throwable getCause() {
29: return cause;
30: }
31: }
|