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

RuntimeErrorException

public class RuntimeErrorException extends JMRuntimeException
When a java.lang.Error occurs in the agent it should be caught and re-thrown as a RuntimeErrorException.
since
1.5

Fields Summary
private static final long
serialVersionUID
private Error
error
Constructors Summary
public RuntimeErrorException(Error e)
Default constructor.

param
e the wrapped error.


                
       
      super();
      error = e ;
    
public RuntimeErrorException(Error e, String message)
Constructor that allows a specific error message to be specified.

param
e the wrapped error.
param
message the detail message.

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

return
the wrapped {@link Error}.

	return error;
    
public java.lang.ErrorgetTargetError()
Returns the actual {@link Error} thrown.

return
the wrapped {@link Error}.

	return error ;