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.
-
MethodVetoException(String, MethodCallEvent)
- Constructs a MethodVetoException instance.
-
MethodVetoException(String, MethodCallEvent, Object)
- Constructs a MethodVetoException instance.
-
getMethodCallEvent()
- Gets the event describing the vetoed action.
-
getReturnObject()
- Gets the Object instance to be used as the return value in the vetoed
method.
MethodVetoException
public MethodVetoException(String mess,
MethodCallEvent evt)
- Constructs a MethodVetoException instance.
- Parameters:
- mess - A descriptive message.
- evt - A MethodCallEvent instance describing the vetoed action.
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.
getMethodCallEvent
public MethodCallEvent getMethodCallEvent()
- Gets the event describing the vetoed action.
- Returns:
- The MethodCallEvent instance describing the vetoed action.
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