- /*
- * @(#)MBeanRegistrationException.java 4.16 03/12/19
- *
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
- * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
- */
-
- package javax.management;
-
-
- /**
- * Wraps exceptions thrown by the preRegister(), preDeregister() methods
- * of the <CODE>MBeanRegistration</CODE> interface.
- *
- * @since 1.5
- */
- public class MBeanRegistrationException extends MBeanException {
-
- /* Serial version */
- private static final long serialVersionUID = 4482382455277067805L;
-
- /**
- * Creates an <CODE>MBeanRegistrationException</CODE> that wraps
- * the actual <CODE>java.lang.Exception</CODE>.
- *
- * @param e the wrapped exception.
- */
- public MBeanRegistrationException(java.lang.Exception e) {
- super(e) ;
- }
-
- /**
- * Creates an <CODE>MBeanRegistrationException</CODE> that wraps
- * the actual <CODE>java.lang.Exception</CODE> with a detailed
- * message.
- *
- * @param e the wrapped exception.
- * @param message the detail message.
- */
- public MBeanRegistrationException(java.lang.Exception e, String message) {
- super(e, message) ;
- }
- }