com.sun.jdmk
Class ProxyMBeanInstantiationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.management.JMException
              extended by com.sun.jdmk.ManagerException
                  extended by com.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.

Overrides:
getCause in class Throwable

Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

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