01: /*****************************************************************************
02: * Copyright (C) NanoContainer Organization. All rights reserved. *
03: * ------------------------------------------------------------------------- *
04: * The software in this package is published under the terms of the BSD *
05: * style license a copy of which has been included with this distribution in *
06: * the LICENSE.txt file. *
07: * *
08: * Original code by Michael Ward *
09: *****************************************************************************/package org.picocontainer.gems.jmx;
10:
11: import org.picocontainer.PicoCompositionException;
12:
13: /**
14: * A registration exception caused trying to register the component with JMX.
15: * @author Michael Ward
16: * @version $Revision: 3905 $
17: */
18: public class JMXRegistrationException extends PicoCompositionException {
19:
20: /**
21: * Construct a JMXRegistrationException with a particular message.
22: * @param message the description of the exception
23: */
24: public JMXRegistrationException(final String message) {
25: super (message);
26: }
27:
28: /**
29: * Construct a JMXRegistrationException with a causing {@link Throwable}.
30: * @param cause the cause
31: */
32: public JMXRegistrationException(final Throwable cause) {
33: super (cause);
34: }
35:
36: /**
37: * Construct a JMXRegistrationException with a causing {@link Throwable} and a particular message.
38: * @param message the description of the exception
39: * @param cause the cause
40: */
41: public JMXRegistrationException(final String message,
42: final Throwable cause) {
43: super(message, cause);
44: }
45: }
|