FileDocCategorySizeDatePackage
ReflectionException.javaAPI DocJava SE 5 API1690Fri Aug 26 14:57:34 BST 2005javax.management

ReflectionException

public class ReflectionException extends JMException
Represents exceptions thrown in the MBean server when using the java.lang.reflect classes to invoke methods on MBeans. It "wraps" the actual java.lang.Exception thrown.
since
1.5

Fields Summary
private static final long
serialVersionUID
private Exception
exception
Constructors Summary
public ReflectionException(Exception e)
Creates a ReflectionException that wraps the actual java.lang.Exception.

param
e the wrapped exception.



                         
        
	super() ;
	exception = e ; 
    
public ReflectionException(Exception e, String message)
Creates a ReflectionException that wraps the actual java.lang.Exception with a detail message.

param
e the wrapped exception.
param
message the detail message.

 
	super(message) ;
	exception = e ; 
    
Methods Summary
public java.lang.ThrowablegetCause()
Returns the actual {@link Exception} thrown.

return
the wrapped {@link Exception}.

	return exception;
    
public java.lang.ExceptiongetTargetException()
Returns the actual {@link Exception} thrown.

return
the wrapped {@link Exception}.

 
	return exception ;