1 /*------------------------------------------------------------------------------
 2 Name:      ConnectorException.java
 3 Project:   xmlBlaster.org
 4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
 5 ------------------------------------------------------------------------------*/
 6 package org.xmlBlaster.client.jmx;
 7 
 8 import javax.management.JMException;
 9 
10 public class ConnectorException extends JMException {
11 
12   private Exception exception = null;
13 
14   public ConnectorException() {
15     super();
16   }
17 
18   public ConnectorException(String msg) {
19     super(msg);
20   }
21 
22   public ConnectorException(String msg, Exception e) {
23     super(msg);
24     this.exception = e;
25   }
26 
27   public Exception getTargetException() {
28     return exception;
29   }
30 
31 }


syntax highlighted by Code2HTML, v. 0.9.1