javax.management
public class ReflectionException extends JMException
Constructor and Description |
---|
ReflectionException(Exception e)
Creates a
ReflectionException that wraps the actual java.lang.Exception . |
ReflectionException(Exception e,
String message)
Creates a
ReflectionException that wraps the actual java.lang.Exception with
a detail message. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the actual
Exception thrown. |
Exception |
getTargetException()
Returns the actual
Exception thrown. |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ReflectionException(Exception e)
ReflectionException
that wraps the actual java.lang.Exception
.e
- the wrapped exception. Submit a bug or feature Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved.
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.