com.sun.jdmk
Class ProxyMBeanInstantiationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.management.JMException
              extended bycom.sun.jdmk.ManagerException
                  extended bycom.sun.jdmk.ProxyMBeanInstantiationException
All Implemented Interfaces:
Serializable

Deprecated. MBean proxies should be generated using MBeanServerInvocationHandler.newProxyInstance. This exception class may be removed in a future version of Java DMK.

public class ProxyMBeanInstantiationException
extends ManagerException

Exception raised by the ProxyFactory when a problem occurs with the instantiation of the ProxyMBean.

See Also:
Serialized Form

Constructor Summary
ProxyMBeanInstantiationException(Exception e)
          Deprecated. Creates a ProxyMBeanInstantiationException that wraps the actual Exception.
ProxyMBeanInstantiationException(Exception e, String message)
          Deprecated. Creates a ProxyMBeanInstantiationException that wraps the actual Exception with a detail message.
 
Method Summary
 Throwable getCause()
          Deprecated. Returns the actual Throwable thrown.
 Exception getTargetException()
          Deprecated. Use getCause() instead. Returns the actual Exception thrown.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProxyMBeanInstantiationException

public ProxyMBeanInstantiationException(Exception e)
Deprecated. 
Creates a ProxyMBeanInstantiationException that wraps the actual Exception.


ProxyMBeanInstantiationException

public ProxyMBeanInstantiationException(Exception e,
                                        String message)
Deprecated. 
Creates a ProxyMBeanInstantiationException that wraps the actual Exception with a detail message.

Method Detail

getTargetException

public Exception getTargetException()
Deprecated. Use getCause() instead. Returns the actual Exception thrown.


getCause

public Throwable getCause()
Deprecated. 
Returns the actual Throwable thrown.


FCS Release
jdmk-5_1-b34.2 2005.11.29_16:24:00_MET

Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.