All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.beans.dip.MethodVetoException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----com.ibm.beans.dip.MethodVetoException

public class MethodVetoException
extends Exception
A MethodVetoException object is thrown when a proposed call to a constrained method represents an unacceptable action.


Constructor Index

 o MethodVetoException(String, MethodCallEvent)
Constructs a MethodVetoException instance.
 o MethodVetoException(String, MethodCallEvent, Object)
Constructs a MethodVetoException instance.

Method Index

 o getMethodCallEvent()
Gets the event describing the vetoed action.
 o getReturnObject()
Gets the Object instance to be used as the return value in the vetoed method.

Constructors

 o MethodVetoException
 public MethodVetoException(String mess,
                            MethodCallEvent evt)
Constructs a MethodVetoException instance.

Parameters:
mess - A descriptive message.
evt - A MethodCallEvent instance describing the vetoed action.
 o MethodVetoException
 public MethodVetoException(String mess,
                            MethodCallEvent evt,
                            Object ret)
Constructs a MethodVetoException instance.

Parameters:
mess - A descriptive message.
evt - A MethodCallEvent instance describing the vetoed action.
ret - An Object instance to be used as the return value in the vetoed method.

Methods

 o getMethodCallEvent
 public MethodCallEvent getMethodCallEvent()
Gets the event describing the vetoed action.

Returns:
The MethodCallEvent instance describing the vetoed action.
 o getReturnObject
 public Object getReturnObject()
Gets the Object instance to be used as the return value in the vetoed method.

Returns:
The return value for the vetoed method.

All Packages  Class Hierarchy  This Package  Previous  Next  Index