|
Préférences
Moteurs de recherche
|
|||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.management
|
Constructor Summary | |
---|---|
MBeanException(Exception e)
Creates an MBeanException that wraps the actual java.lang.Exception . |
|
MBeanException(Exception e,
String message)
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, 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.