/* * @(#)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 MBeanRegistration interface. * * @since 1.5 */ public class MBeanRegistrationException extends MBeanException { /* Serial version */ private static final long serialVersionUID = 4482382455277067805L; /** * Creates an MBeanRegistrationException that wraps * the actual java.lang.Exception. * * @param e the wrapped exception. */ public MBeanRegistrationException(java.lang.Exception e) { super(e) ; } /** * Creates an MBeanRegistrationException that wraps * the actual java.lang.Exception 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) ; } }