All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.datesbeans.event.ActionErrorEvent

java.lang.Object
    |
    +----java.util.EventObject
            |
            +----com.ibm.datesbeans.event.ActionErrorEvent

public class ActionErrorEvent
extends java.util.EventObject
This event is fired if the computation does not finish successfully. It can be used by the application assembler if he/she does not care about the details of exceptional situation but just want to show if the function was performed or not.

Since:
DatesBeans 1.0
See Also:
ActionErrorListener

Constructor Index

 o ActionErrorEvent(Object, Exception, int)
Constructs ActionErrorEvent object with the specified source object, message code and exception object.

Method Index

 o getCurrentException()
Gets a current exception.
 o getMessage()
Gets a detailed error message.
 o getMessageCode()
Gets the error message code.

Constructor Detail

 o ActionErrorEvent
public ActionErrorEvent(java.lang.Object source,
                        java.lang.Exception exp,
                        int code)
          Constructs ActionErrorEvent object with the specified source object, message code and exception object.
Parameters:
source - object where the event originated
code - code of the error message
exp - exception that is thrown

Method Detail

 o getCurrentException
public java.lang.Exception getCurrentException()
          Gets a current exception.
Returns:
current exception
 o getMessage
public java.lang.String getMessage()
          Gets a detailed error message.
Returns:
detailed error message
 o getMessageCode
public int getMessageCode()
          Gets the error message code.
Returns:
error message code

All Packages  Class Hierarchy  This Package  Previous  Next  Index