All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.excelaccessor.event.ExcelAccessorErrorEvent
java.lang.Object
|
+----java.util.EventObject
|
+----com.ibm.excelaccessor.event.ExcelAccessorErrorEvent
- public class ExcelAccessorErrorEvent
- extends EventObject
The ExcelAccessorErrorEvent is the abstract base class for events
occurring in the ExcelAccessor suite of beans.
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:
- ExcelAccessorErrorListener
-
EXCEL_ERROR
- The flag indicating the event to be fired
-
getCurrentException()
- Returns the exception that caused this event to be fired.
-
getMessage()
- Returns the error message.
-
getMessageCode()
- Returns the error code representing
the error message.
-
getWorkbookName()
- Returns the workbook that caused this event to be fired.
-
toString()
- Overrides toString in Object
EXCEL_ERROR
public static final int EXCEL_ERROR
- The flag indicating the event to be fired
getCurrentException
public Exception getCurrentException()
- Returns the exception that caused this event to be fired.
- Returns:
- The exception that caused this error event.
getMessage
public String getMessage()
- Returns the error message.
- Returns:
- The error message.
getMessageCode
public int getMessageCode()
- Returns the error code representing
the error message.
- Returns:
- The error message code.
getWorkbookName
public String getWorkbookName()
- Returns the workbook that caused this event to be fired.
- Returns:
- The workbook that caused this error event.
toString
public String toString()
- Overrides toString in Object
- Returns:
- The message.
- Overrides:
- toString in class EventObject
All Packages Class Hierarchy This Package Previous Next Index