| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.management.JMException
javax.management.MBeanException
public class MBeanException
Represents "user defined" exceptions thrown by MBean methods in the agent. It "wraps" the actual "user defined" exception thrown. This exception will be built by the MBeanServer when a call to an MBean method results in an unknown exception.
| Constructor Summary | |
|---|---|
| MBeanException(Exception e)Creates an MBeanExceptionthat wraps the actualjava.lang.Exception. | |
| MBeanException(Exception e,
               String message)Creates an MBeanExceptionthat wraps the actualjava.lang.Exceptionwith
 a detail message. | |
| Method Summary | |
|---|---|
|  Throwable | getCause()Return the actual Exceptionthrown. | 
|  Exception | getTargetException()Return the actual Exceptionthrown. | 
| 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 | 
|---|
public MBeanException(Exception e)
MBeanException that wraps the actual java.lang.Exception.
e - the wrapped exception.
public MBeanException(Exception e,
                      String message)
MBeanException that wraps the actual java.lang.Exception with
 a detail message.
e - the wrapped exception.message - the detail message.| Method Detail | 
|---|
public Exception getTargetException()
Exception thrown.
public Throwable getCause()
Exception thrown.
getCause in class Throwable| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.