com.ibm.excelaccessor.event
Class ExcelWorkbookErrorEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.ibm.excelaccessor.event.ExcelAccessorErrorEvent
|
+--com.ibm.excelaccessor.event.ExcelWorkbookErrorEvent
- All Implemented Interfaces:
- java.io.Serializable
- 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, Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
ExcelWorkbookErrorEvent(java.lang.Object source,
int messageCode,
java.lang.Exception currentException,
java.lang.String message,
java.lang.String workbook)
Constructs a ExcelWorkbookErrorEvent object with
the specified source object. |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WRITE_MODE_OPEN_FAIL
public static final int WRITE_MODE_OPEN_FAIL
- The flag to indicate the event to be fired
WORKBOOK_INACCESSIBLE
public static final int WORKBOOK_INACCESSIBLE
- The flag to indicate the event to be fired
ExcelWorkbookErrorEvent
public ExcelWorkbookErrorEvent(java.lang.Object source,
int messageCode,
java.lang.Exception currentException,
java.lang.String message,
java.lang.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.
ExcelAccessor Bean Suite