/*
* Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved.
* ORACLE 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) ;
}
}