|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
java.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
Creates an MBeanException that wraps the actual java.lang.Exception. |
|
MBeanException
Creates an MBeanException that wraps the actual java.lang.Exception with
a detail message. |
|
| Method Summary | |
|---|---|
Throwable |
getCause
Return the actual Exception thrown. |
Exception |
getTargetException
Return the actual Exception thrown. |
Methods inherited from class java.lang.Throwable ![]() |
|---|
fillInStackTrace |
Methods inherited from class java.lang.Object ![]() |
|---|
clone |
| 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

|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||