All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.excelaccessor.event.ExcelWorkbookErrorEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----com.ibm.excelaccessor.event.ExcelAccessorErrorEvent
                   |
                   +----com.ibm.excelaccessor.event.ExcelWorkbookErrorEvent

public class ExcelWorkbookErrorEvent
extends ExcelAccessorErrorEvent
The ExcelWorkbookErrorEvent is fired when an error occurs in the ExcelWorkbook bean. This event encapsulates the exception occurred and the related error message. This exception could be used to obtain more detailed information about the exception.

See Also:
ExcelWorkbookErrorListener

Variable Index

 o WORKBOOK_INACCESSIBLE
The flag to indicate the event to be fired
 o WRITE_MODE_OPEN_FAIL
The flag to indicate the event to be fired

Constructor Index

 o ExcelWorkbookErrorEvent(Object, int, Exception, String, String)
Constructs a ExcelWorkbookErrorEvent object with the specified source object.

Variables

 o WRITE_MODE_OPEN_FAIL
 public static final int WRITE_MODE_OPEN_FAIL
The flag to indicate the event to be fired

 o WORKBOOK_INACCESSIBLE
 public static final int WORKBOOK_INACCESSIBLE
The flag to indicate the event to be fired

Constructors

 o ExcelWorkbookErrorEvent
 public ExcelWorkbookErrorEvent(Object source,
                                int messageCode,
                                Exception currentException,
                                String message,
                                String workbook)
Constructs a ExcelWorkbookErrorEvent object with the specified source object.

Parameters:
source - The object where the event originated.
messageCode - The code of the error message.
currentException - The exception that is thrown.
message - The detailed error message.
workbook - The name of the workbook.

All Packages  Class Hierarchy  This Package  Previous  Next  Index