com.f1j.ss.datarange
Class SelectionException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.f1j.util.F1Exception
                    |
                    +--com.f1j.util.InvalidStateException
                          |
                          +--com.f1j.util.SelectionException
                                |
                                +--com.f1j.ss.SelectionException
                                      |
                                      +--com.f1j.ss.datarange.SelectionException

public class SelectionException
extends SelectionException

The size, shape, count, or type of the current selection is not compatible with the requested DataRange operation.

Since:
12.0
See Also:
Serialized Form

Field Summary
static com.f1j.util.F1Exception.EType eNoLeafSections
          You cannot use this command on a leaf section.
static com.f1j.util.F1Exception.EType eNoMultipleSections
          This command requires a single section.
static com.f1j.util.F1Exception.EType eNoRootSections
          You cannot use this command on a root section.
static com.f1j.util.F1Exception.EType eOverlapAnotherDataRange
          Used to indicate that a DataRange overlaps an existing DataRange.
static com.f1j.util.F1Exception.EType eRequiresDataRangeSelection
          This command requires a Data Range selection.
static com.f1j.util.F1Exception.EType eRequiresNonLeafSection
          This command requires at least one non-leaf section.
 
Fields inherited from class com.f1j.ss.SelectionException
eCannotDeleteLastSheet, eCopyPasteOverlap, eLastSheet, eNoMultipleSheets, eNoSingleRowColumnSource, eOnlyOneArea, eOnlyOneCell, eSheetsMustBeAdjacent
 
Fields inherited from class com.f1j.util.SelectionException
eGeneric
 
Fields inherited from class com.f1j.util.InvalidStateException
eGeneric
 
Fields inherited from class com.f1j.util.F1Exception
ADVANCED_FILTER_BAD_EXTRACT_RANGE, ADVANCED_FILTER_ONLY_COPY_TO_ACTIVE_SHEET, ARRAY_OVERFLOW, BAD_ARGUMENT, BAD_FORMULA, BAD_HSS, BAD_INPUTMASK, BAD_NUMBER_FORMAT, BAD_RC, BAD_VALIDATIONRULE, BUF_TOO_SHORT, CANCEL, CANNOT_DELETE_LAST_VISIBLE_SHEET, CANNOT_HIDE_LAST_VISIBLE_SHEET, CANNOT_MODIFY_PARAMETER, CANNOT_PERFORM_IN_REPORT_PREVIEW, CANNOT_PERFORM_ON_PROTECTED_SHEET, CANNOT_PERFORM_OPERATION_ON_ARRAY_ENTERED_CELLS, CANNOT_PERFORM_OPERATION_ON_MERGED_CELLS, CANNOT_REDO, CANNOT_SET_DATA_IN_CHART_DATASOURCE, CANNOT_UNDO, CANT_DELETE_NAME_IN_USE, DP_BadCellFormattingMode, DP_DataTypeNotSupport, DP_XSLTDocumentInvalid, DP_XSLTProcessorNotFound, DUPLICATE_NAME, DUPLICATE_SHEET_NAME, eGeneric, ENCRYPTION_SCHEME_UNAVAILABLE, ENDING_LESS_THAN_START, ERROR_IN_VTF_FILE, FILE_FORMAT_NOT_SECURE, FORMULA_TOO_LONG, FREEZE_PANES_CONFLICT, GENERAL, INCREMENT_NOT_POSITIVE, INDEX_OUT_OF_BOUNDS, INSERT_SHIFT_OFF_WORKBOOK, INVALID_FIELD_NAME, INVALID_FILE, INVALID_ITEM_NAME, INVALID_NAME, INVALID_OBJECT_TYPE, INVALID_OPERATION_FOR_OBJECT, INVALID_PARAMETER_TYPE, INVALID_PASSWORD, INVALID_REQUEST, INVALID_VALUE_FOR_PARAMETER_TYPE, LOCKED_CELLS_CANNOT_BE_MODIFIED, LOCKED_DOCUMENT_CANNOT_BE_MODIFIED, MUST_HAVE_LOCK, MUST_UNGROUP, NO_MEMORY, NO_ODBC_CONNECTION, NO_TRANSACTION, NO_WINDOW, NO_WORKBOOK, NOT_FOUND, NOT_IMPLEMENTED, NOTHING_TO_PASTE, NOTHING_TO_PRINT, OBJECT_NOT_FOUND, OBJECT_NOT_VISIBLE, ONLY_ONE_RANGE, PANE_NOT_VISIBLE, PARTIAL_ARRAY_FORMULA_CANNOT_BE_MODIFIED, PARTIAL_MERGED_CELL_CANNOT_BE_MODIFIED, PASTE_WOULD_OVERFLOW_SHEET, POSSIBLE_DATA_LOSS, PRINT_MARGINS_DONT_FIT, REPORT_RANGE_BOUNDARY, REPORT_RANGE_OVERLAP, SELECTION, SQL_AMBIGUOUS_COLUMN_REF, STRING_TOO_LONG, TOO_MANY_COLORS_TO_ENCODE_GIF, TOO_MANY_FONTS, TOO_MANY_HSS, TOO_MANY_ITEMS, TOO_MANY_OBJECTS, TOO_MANY_SELECTED_RANGES, UNABLE_TO_FIND_NAME, UNABLE_TO_INITIALIZE_PRINTER, UNABLE_TO_LOAD_CALLBACK, UNABLE_TO_LOAD_ODBC, UNABLE_TO_OPEN_CLIPBOARD, UNABLE_TO_OPEN_FILE, UNABLE_TO_WRITE_FILE, UNSUPPORTED_ENCRYPTION_ALGORITHM, UNSUPPORTED_FEATURE, UNSUPPORTED_SQL_TYPE, VALIDATION_FAILED, XML_PARSER_NOT_FOUND
 
Constructor Summary
SelectionException(com.f1j.util.F1Exception.EType eType)
          Creates a SelectionException of the specified type.
 
Methods inherited from class com.f1j.util.F1Exception
getError, getLocalizedMessage, getMessage, getType
 

Field Detail

eNoMultipleSections

public static final com.f1j.util.F1Exception.EType eNoMultipleSections
This command requires a single section. You cannot use the command on a selection with multiple sections.
See Also:
F1Exception.EType

eNoRootSections

public static final com.f1j.util.F1Exception.EType eNoRootSections
You cannot use this command on a root section.
See Also:
F1Exception.EType

eNoLeafSections

public static final com.f1j.util.F1Exception.EType eNoLeafSections
You cannot use this command on a leaf section.
See Also:
F1Exception.EType

eRequiresNonLeafSection

public static final com.f1j.util.F1Exception.EType eRequiresNonLeafSection
This command requires at least one non-leaf section.
See Also:
F1Exception.EType

eRequiresDataRangeSelection

public static final com.f1j.util.F1Exception.EType eRequiresDataRangeSelection
This command requires a Data Range selection.
See Also:
F1Exception.EType

eOverlapAnotherDataRange

public static final com.f1j.util.F1Exception.EType eOverlapAnotherDataRange
Used to indicate that a DataRange overlaps an existing DataRange.
See Also:
F1Exception.EType
Since:
12.0
Constructor Detail

SelectionException

public SelectionException(com.f1j.util.F1Exception.EType eType)
Creates a SelectionException of the specified type.
Parameters:
eType - The type of SelectionException.
See Also:
F1Exception.EType