ilog.rules.dvs.excel
Class IlrExcel2003ScenarioSuiteDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.rules.res.message.internal.LocalizedException
-
- ilog.rules.dvs.excel.IlrExcel2003ScenarioSuiteDataException
-
- All Implemented Interfaces:
- com.ibm.rules.res.message.internal.LocalizedMessage, java.io.Serializable
public class IlrExcel2003ScenarioSuiteDataException extends com.ibm.rules.res.message.internal.LocalizedExceptionRepresents the exception thrown when invalid data is found in Excel 2003 scenario files.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringARRAY_INPUT_PARAMETER_NOT_SUPPORTED_IN_FLAT_MODEThe message code used to signal that array ruleset input parameters are not supported by the flat mode.static java.lang.StringBOM_CLASS_NOT_FOUNDThe message code used to signal that a BOM class referenced in the Excel scenario file is not defined in the BOM.static java.lang.StringBOM_NOT_COMPATIBLE_FOR_TEMPLATEThe message code used to signal that a BOM is not suitable for generating an Excel scenario file template.static java.lang.StringBOM_NOT_COMPATIBLE_WITH_FLAT_MODEThe message code used to signal that a BOM is not compatible with the flat mode of the Excel scenario files.static java.lang.StringCOLLECTION_INPUT_PARAMETER_NOT_SUPPORTED_IN_FLAT_MODEThe message code used to signal that collection ruleset input parameters are not supported by the flat mode.static java.lang.StringDATA_LOOPThe message code used to signal that a data loop prevents an object instance from being built.static java.lang.StringERROR_BUILDING_INPUT_DATA_TREEThe message code used to signal an unexpected error occurred when checking if the Excel Flat format is compatible with the attributes of a ruleset parameter.static java.lang.StringERROR_LOOP_IN_OBJECT_FACTORY_SIGNATUREThe message code used to signal than a BOM class cannot be created in flat mode because of a loop on a required constructor parameter.static java.lang.StringILLEGAL_BIGDECIMAL_VALUE_IN_DATACELLThe message code used to signal an illegal BigDecimal value in a data cell.static java.lang.StringILLEGAL_BIGINTEGER_VALUE_IN_DATACELLThe message code used to signal an illegal BigInteger value in a data cell.static java.lang.StringILLEGAL_BOOLEAN_VALUE_IN_DATACELLThe message code used to signal an illegal boolean value in a data cell.static java.lang.StringILLEGAL_BYTE_VALUE_IN_DATACELLThe message code used to signal an illegal byte value in a data cell.static java.lang.StringILLEGAL_CHAR_VALUE_IN_DATACELLThe message code used to signal an illegal char value in a data cell.static java.lang.StringILLEGAL_DATE_VALUE_IN_DATACELLThe message code used to signal an illegal date value in a data cell.static java.lang.StringILLEGAL_DOUBLE_VALUE_IN_DATACELLThe message code used to signal an illegal double value in a data cell.static java.lang.StringILLEGAL_FLOAT_VALUE_IN_DATACELLThe message code used to signal an illegal float value in a data cell.static java.lang.StringILLEGAL_HEADER_VALUEThe message code used to signal that a header cell contains an illegal value.static java.lang.StringILLEGAL_INT_VALUE_IN_DATACELLThe message code used to signal an illegal int value in a data cell.static java.lang.StringILLEGAL_LONG_VALUE_IN_DATACELLThe message code used to signal an illegal long value in a data cell.static java.lang.StringILLEGAL_NAME_FOR_SCENARIO_DESCRIPTION_COLUMN_CODEThe message code used to signal that the name used for the scenario description column is illegal.static java.lang.StringILLEGAL_RULESET_PARAMETERS_DIRECTION_CODEThe message code used to signal an illegal value for the property that defines the direction of a parameter in the tested or test ruleset.static java.lang.StringILLEGAL_SHORT_VALUE_IN_DATACELLThe message code used to signal an illegal short value in a data cell.static java.lang.StringILLEGAL_VALUE_FOR_OUTPUT_PARAMETERS_PROPERTYThe message code used to signal that the value of the custom property defining the output parameters of the ruleset to test is illegal.static java.lang.StringILLEGAL_VALUE_FOR_RULESET_PARAMETERS_TYPE_CODEThe message code used to signal that the property defining the parameter type of the tested or test ruleset contains an illegal value.static java.lang.StringILLEGAL_VALUE_IN_DATACELLThe message code used to signal an illegal value in a data cell.static java.lang.StringINDEX_OUT_OF_BOUNDSThe message code used to signal that the index of a scenario is out of bounds for the scenario suite.static java.lang.StringINVALID_OBJECT_REFERENCE_CODEThe message code used to signal that the definition of an object referenced in a cell cannot be found.static java.lang.StringMAXIMUM_NUMBER_OF_DOMAINS_HAS_BEEN_REACHEDThe message code used to signal that the domain sheet is full and that no more domains can be added to it.static java.lang.StringMISSING_HEADER_ROWS_IN_SHEETThe message code used to signal that header rows are missing in a sheet of the scenario file.static java.lang.StringMISSING_MANDATORY_DATAThe message code used to signal that mandatory data is missing in the scenario file.static java.lang.StringMISSING_PROPERTY_FOR_EXPECTED_RESULTS_SHEET_MAPPING_CODEThe message code used to signal that the property that defines the sheet in which expected results are defined is missing.static java.lang.StringMISSING_PROPERTY_FOR_INPUT_OBJECT_SHEET_MAPPING_CODEThe message code used to signal that the property that defines the sheet in which input objects of a certain BOM type are defined is missing.static java.lang.StringMISSING_PROPERTY_FOR_LOCALE_CODEThe message code used to signal that the property that defines the scenario suite locale is missing.static java.lang.StringMISSING_PROPERTY_FOR_OUTPUT_OBJECT_SHEET_MAPPING_CODEThe message code used to signal that the property that defines the sheet in which output objects of a certain BOM type are defined is missing.static java.lang.StringMISSING_PROPERTY_FOR_SCENARIOS_SHEET_MAPPING_CODEThe message code used to signal that the property that defines the sheet in which scenarios are defined is missing.static java.lang.StringMISSING_SHEET_MESSAGE_CODEThe message code used to signal that a sheet is missing in the Excel workbook.static java.lang.StringNARY_RELATION_DEPTH_GREATER_THAN_ONE_NOT_SUPPORTED_IN_FLAT_MODEThe message code used to signal that n-ary relations with depth greater than one are not supported by the flat mode.protected static java.lang.StringRESOURCE_BUNDLE_NAMEThe resource bundle that contains the exception messages.static java.lang.StringRULESET_WITH_NO_INPUT_PARAMETER_UNSUPPORTED_CODEThe message code used to signal that the ruleset for which the Excel scenario file template was requested does not contain any input parameters.static java.lang.StringTOO_MANY_DOMAIN_ENTRIESThe message code used to signal that a domain cannot be stored in the domain sheet because it contains too many entries.static java.lang.StringUNKNOWN_VALUEDisplays unknown values in error messages.
-
Constructor Summary
Constructors Constructor and Description IlrExcel2003ScenarioSuiteDataException(java.lang.String errorCode, java.lang.Object[] messageParams)IlrExcel2003ScenarioSuiteDataException(java.lang.String errorCode, java.lang.Object[] messageParams, java.lang.Throwable cause)IlrExcel2003ScenarioSuiteDataException(java.lang.Throwable cause)
-
Method Summary
Methods Modifier and Type Method and Description java.lang.StringgetErrorCode()Returns the error code for this exception.-
Methods inherited from class com.ibm.rules.res.message.internal.LocalizedException
getLocalizedMessage, getLocalizedMessage, getMessage, getMessageCode, getMessageParameters, getResourceBundleName
-
-
-
-
Field Detail
-
RESOURCE_BUNDLE_NAME
protected static final java.lang.String RESOURCE_BUNDLE_NAME
The resource bundle that contains the exception messages.
-
UNKNOWN_VALUE
public static final java.lang.String UNKNOWN_VALUE
Displays unknown values in error messages.- See Also:
- Constant Field Values
-
MISSING_SHEET_MESSAGE_CODE
public static final java.lang.String MISSING_SHEET_MESSAGE_CODE
The message code used to signal that a sheet is missing in the Excel workbook.
-
INDEX_OUT_OF_BOUNDS
public static final java.lang.String INDEX_OUT_OF_BOUNDS
The message code used to signal that the index of a scenario is out of bounds for the scenario suite.
-
BOM_CLASS_NOT_FOUND
public static final java.lang.String BOM_CLASS_NOT_FOUND
The message code used to signal that a BOM class referenced in the Excel scenario file is not defined in the BOM.
-
MISSING_PROPERTY_FOR_INPUT_OBJECT_SHEET_MAPPING_CODE
public static final java.lang.String MISSING_PROPERTY_FOR_INPUT_OBJECT_SHEET_MAPPING_CODE
The message code used to signal that the property that defines the sheet in which input objects of a certain BOM type are defined is missing.
-
INVALID_OBJECT_REFERENCE_CODE
public static final java.lang.String INVALID_OBJECT_REFERENCE_CODE
The message code used to signal that the definition of an object referenced in a cell cannot be found.
-
MISSING_PROPERTY_FOR_SCENARIOS_SHEET_MAPPING_CODE
public static final java.lang.String MISSING_PROPERTY_FOR_SCENARIOS_SHEET_MAPPING_CODE
The message code used to signal that the property that defines the sheet in which scenarios are defined is missing.
-
MISSING_PROPERTY_FOR_OUTPUT_OBJECT_SHEET_MAPPING_CODE
public static final java.lang.String MISSING_PROPERTY_FOR_OUTPUT_OBJECT_SHEET_MAPPING_CODE
The message code used to signal that the property that defines the sheet in which output objects of a certain BOM type are defined is missing.
-
MISSING_PROPERTY_FOR_EXPECTED_RESULTS_SHEET_MAPPING_CODE
public static final java.lang.String MISSING_PROPERTY_FOR_EXPECTED_RESULTS_SHEET_MAPPING_CODE
The message code used to signal that the property that defines the sheet in which expected results are defined is missing.
-
ILLEGAL_RULESET_PARAMETERS_DIRECTION_CODE
public static final java.lang.String ILLEGAL_RULESET_PARAMETERS_DIRECTION_CODE
The message code used to signal an illegal value for the property that defines the direction of a parameter in the tested or test ruleset.
-
RULESET_WITH_NO_INPUT_PARAMETER_UNSUPPORTED_CODE
public static final java.lang.String RULESET_WITH_NO_INPUT_PARAMETER_UNSUPPORTED_CODE
The message code used to signal that the ruleset for which the Excel scenario file template was requested does not contain any input parameters.
-
MISSING_PROPERTY_FOR_LOCALE_CODE
public static final java.lang.String MISSING_PROPERTY_FOR_LOCALE_CODE
The message code used to signal that the property that defines the scenario suite locale is missing.
-
ILLEGAL_NAME_FOR_SCENARIO_DESCRIPTION_COLUMN_CODE
public static final java.lang.String ILLEGAL_NAME_FOR_SCENARIO_DESCRIPTION_COLUMN_CODE
The message code used to signal that the name used for the scenario description column is illegal.
-
MISSING_HEADER_ROWS_IN_SHEET
public static final java.lang.String MISSING_HEADER_ROWS_IN_SHEET
The message code used to signal that header rows are missing in a sheet of the scenario file.
-
ILLEGAL_VALUE_FOR_RULESET_PARAMETERS_TYPE_CODE
public static final java.lang.String ILLEGAL_VALUE_FOR_RULESET_PARAMETERS_TYPE_CODE
The message code used to signal that the property defining the parameter type of the tested or test ruleset contains an illegal value.
-
ILLEGAL_VALUE_FOR_OUTPUT_PARAMETERS_PROPERTY
public static final java.lang.String ILLEGAL_VALUE_FOR_OUTPUT_PARAMETERS_PROPERTY
The message code used to signal that the value of the custom property defining the output parameters of the ruleset to test is illegal.
-
ILLEGAL_HEADER_VALUE
public static final java.lang.String ILLEGAL_HEADER_VALUE
The message code used to signal that a header cell contains an illegal value. Header cell content is not supposed to be modified by the end user.
-
MISSING_MANDATORY_DATA
public static final java.lang.String MISSING_MANDATORY_DATA
The message code used to signal that mandatory data is missing in the scenario file.
-
BOM_NOT_COMPATIBLE_FOR_TEMPLATE
public static final java.lang.String BOM_NOT_COMPATIBLE_FOR_TEMPLATE
The message code used to signal that a BOM is not suitable for generating an Excel scenario file template.
-
ARRAY_INPUT_PARAMETER_NOT_SUPPORTED_IN_FLAT_MODE
public static final java.lang.String ARRAY_INPUT_PARAMETER_NOT_SUPPORTED_IN_FLAT_MODE
The message code used to signal that array ruleset input parameters are not supported by the flat mode.
-
NARY_RELATION_DEPTH_GREATER_THAN_ONE_NOT_SUPPORTED_IN_FLAT_MODE
public static final java.lang.String NARY_RELATION_DEPTH_GREATER_THAN_ONE_NOT_SUPPORTED_IN_FLAT_MODE
The message code used to signal that n-ary relations with depth greater than one are not supported by the flat mode.
-
BOM_NOT_COMPATIBLE_WITH_FLAT_MODE
public static final java.lang.String BOM_NOT_COMPATIBLE_WITH_FLAT_MODE
The message code used to signal that a BOM is not compatible with the flat mode of the Excel scenario files.
-
ILLEGAL_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_VALUE_IN_DATACELL
The message code used to signal an illegal value in a data cell.
-
COLLECTION_INPUT_PARAMETER_NOT_SUPPORTED_IN_FLAT_MODE
public static final java.lang.String COLLECTION_INPUT_PARAMETER_NOT_SUPPORTED_IN_FLAT_MODE
The message code used to signal that collection ruleset input parameters are not supported by the flat mode.
-
DATA_LOOP
public static final java.lang.String DATA_LOOP
The message code used to signal that a data loop prevents an object instance from being built.
-
ILLEGAL_BYTE_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_BYTE_VALUE_IN_DATACELL
The message code used to signal an illegal byte value in a data cell.
-
ILLEGAL_SHORT_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_SHORT_VALUE_IN_DATACELL
The message code used to signal an illegal short value in a data cell.
-
ILLEGAL_INT_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_INT_VALUE_IN_DATACELL
The message code used to signal an illegal int value in a data cell.
-
ILLEGAL_LONG_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_LONG_VALUE_IN_DATACELL
The message code used to signal an illegal long value in a data cell.
-
ILLEGAL_CHAR_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_CHAR_VALUE_IN_DATACELL
The message code used to signal an illegal char value in a data cell.
-
ILLEGAL_BOOLEAN_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_BOOLEAN_VALUE_IN_DATACELL
The message code used to signal an illegal boolean value in a data cell.
-
ILLEGAL_DOUBLE_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_DOUBLE_VALUE_IN_DATACELL
The message code used to signal an illegal double value in a data cell.
-
ILLEGAL_FLOAT_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_FLOAT_VALUE_IN_DATACELL
The message code used to signal an illegal float value in a data cell.
-
ILLEGAL_DATE_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_DATE_VALUE_IN_DATACELL
The message code used to signal an illegal date value in a data cell.
-
ILLEGAL_BIGDECIMAL_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_BIGDECIMAL_VALUE_IN_DATACELL
The message code used to signal an illegal BigDecimal value in a data cell.
-
ILLEGAL_BIGINTEGER_VALUE_IN_DATACELL
public static final java.lang.String ILLEGAL_BIGINTEGER_VALUE_IN_DATACELL
The message code used to signal an illegal BigInteger value in a data cell.
-
MAXIMUM_NUMBER_OF_DOMAINS_HAS_BEEN_REACHED
public static final java.lang.String MAXIMUM_NUMBER_OF_DOMAINS_HAS_BEEN_REACHED
The message code used to signal that the domain sheet is full and that no more domains can be added to it.
-
TOO_MANY_DOMAIN_ENTRIES
public static final java.lang.String TOO_MANY_DOMAIN_ENTRIES
The message code used to signal that a domain cannot be stored in the domain sheet because it contains too many entries.
-
ERROR_LOOP_IN_OBJECT_FACTORY_SIGNATURE
public static final java.lang.String ERROR_LOOP_IN_OBJECT_FACTORY_SIGNATURE
The message code used to signal than a BOM class cannot be created in flat mode because of a loop on a required constructor parameter.
-
ERROR_BUILDING_INPUT_DATA_TREE
public static final java.lang.String ERROR_BUILDING_INPUT_DATA_TREE
The message code used to signal an unexpected error occurred when checking if the Excel Flat format is compatible with the attributes of a ruleset parameter.
-
-
Constructor Detail
-
IlrExcel2003ScenarioSuiteDataException
public IlrExcel2003ScenarioSuiteDataException(java.lang.Throwable cause)
-
IlrExcel2003ScenarioSuiteDataException
public IlrExcel2003ScenarioSuiteDataException(java.lang.String errorCode, java.lang.Object[] messageParams, java.lang.Throwable cause)
-
IlrExcel2003ScenarioSuiteDataException
public IlrExcel2003ScenarioSuiteDataException(java.lang.String errorCode, java.lang.Object[] messageParams)
-
-