All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.excelaccessor.event.ExcelRangeErrorEvent

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

public class ExcelRangeErrorEvent
extends ExcelAccessorErrorEvent
The ExcelRangeErrorEvent is fired when an error occurs on the ExcelRange 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:
ExcelRangeErrorListener

Constructor Index

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

Method Index

 o getEndCol()
Returns the ending column number for the range.
 o getEndRow()
Returns the ending row number for the range.
 o getRangeName()
Returns the name of the range on which the error has occurred.
 o getStartCol()
Returns the starting column number for the range.
 o getStartRow()
Returns the starting row number for the range.
 o getWorksheetName()
Returns the name of the worksheet in which the range is present

Constructors

 o ExcelRangeErrorEvent
 public ExcelRangeErrorEvent(Object source,
                             int messageCode,
                             Exception currentException,
                             String message,
                             int startRow,
                             int startCol,
                             int endRow,
                             int endCol,
                             String rangeName,
                             String sheetName,
                             String workbookName)
Constructs a ExcelRangeErrorEvent 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.
workbookName - The name of the workbook of the range.
sheetName - The name of the sheet of the range.
rangeName - The name of the range which has thrown the error.
startRow - The starting row number for the range.
startCol - The starting column number for the range.
endRow - The ending row number for the range.
endCol - The ending column number for the range.

Methods

 o getEndCol
 public int getEndCol()
Returns the ending column number for the range.

Returns:
The ending column number.
 o getEndRow
 public int getEndRow()
Returns the ending row number for the range.

Returns:
The ending row number.
 o getRangeName
 public String getRangeName()
Returns the name of the range on which the error has occurred.

Returns:
The name of the range.
 o getStartCol
 public int getStartCol()
Returns the starting column number for the range.

Returns:
The starting column number.
 o getStartRow
 public int getStartRow()
Returns the starting row number for the range.

Returns:
The starting row number.
 o getWorksheetName
 public String getWorksheetName()
Returns the name of the worksheet in which the range is present

Returns:
The name of the worksheet that contains the range.

All Packages  Class Hierarchy  This Package  Previous  Next  Index