com.f1j.ss
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
Direct Known Subclasses:
SelectionException, SelectionException, SelectionException

public class SelectionException
extends SelectionException

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

Since:
11.0
See Also:
Serialized Form

Field Summary
static com.f1j.util.F1Exception.EType eCannotDeleteLastSheet
          Cannot delete the last visible worksheet.
static com.f1j.util.F1Exception.EType eCopyPasteOverlap
          Indicates the selection is invalid because copy and paste areas cannot overlap unless they are the same size and shape.
static com.f1j.util.F1Exception.EType eLastSheet
          Indicates
static com.f1j.util.F1Exception.EType eNoMultipleSheets
          Indicates this operation can only be performed on a single sheet.
static com.f1j.util.F1Exception.EType eNoSingleRowColumnSource
          This command requires at least two rows of source data.
static com.f1j.util.F1Exception.EType eOnlyOneArea
          Indicates at least one area must be selected for this command.
static com.f1j.util.F1Exception.EType eOnlyOneCell
          Indicates
static com.f1j.util.F1Exception.EType eSheetsMustBeAdjacent
          This command cannot be performed on multiple sheets unless they are adjacent.
 
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()
          Creates a generic SelectionException.
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

eNoSingleRowColumnSource

public static final com.f1j.util.F1Exception.EType eNoSingleRowColumnSource
This command requires at least two rows of source data. You cannot use the command on a selection in only one row.
See Also:
F1Exception.EType
Since:
11.0

eNoMultipleSheets

public static final com.f1j.util.F1Exception.EType eNoMultipleSheets
Indicates this operation can only be performed on a single sheet.
See Also:
F1Exception.EType
Since:
11.0

eOnlyOneArea

public static final com.f1j.util.F1Exception.EType eOnlyOneArea
Indicates at least one area must be selected for this command.
See Also:
F1Exception.EType
Since:
11.0

eOnlyOneCell

public static final com.f1j.util.F1Exception.EType eOnlyOneCell
Indicates
See Also:
F1Exception.EType
Since:
11.0

eLastSheet

public static final com.f1j.util.F1Exception.EType eLastSheet
Indicates
See Also:
F1Exception.EType
Since:
11.0

eCopyPasteOverlap

public static final com.f1j.util.F1Exception.EType eCopyPasteOverlap
Indicates the selection is invalid because copy and paste areas cannot overlap unless they are the same size and shape.
See Also:
F1Exception.EType
Since:
11.0

eSheetsMustBeAdjacent

public static final com.f1j.util.F1Exception.EType eSheetsMustBeAdjacent
This command cannot be performed on multiple sheets unless they are adjacent.
See Also:
F1Exception.EType
Since:
12.0

eCannotDeleteLastSheet

public static final com.f1j.util.F1Exception.EType eCannotDeleteLastSheet
Cannot delete the last visible worksheet.
See Also:
F1Exception.EType
Since:
12.0
Constructor Detail

SelectionException

public SelectionException()
Creates a generic SelectionException.
Since:
11.0

SelectionException

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