Enum ErrorType
- java.lang.Object
-
- java.lang.Enum<ErrorType>
-
- com.epam.ta.reportportal.ws.model.ErrorType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_DENIEDAccess DeniedACTIVITY_NOT_FOUNDIf specified by id Activity not foundADDRESS_LOCKEDAccess DeniedAMBIGUOUS_TEST_ITEM_STATUSOccurs when status is not provided and cannot be calculated or provided status does not corresponds to calculated from statistics.ANALYZER_NOT_FOUNDIf analyzer with provided name is not foundATTACHMENT_NOT_FOUNDIf attachment with provided id not foundAUTH_INTEGRATION_NOT_FOUNDIf specified Authentication extension isn't foundBAD_REQUEST_ERRORBase Error If Request sent with incorrect parametersBAD_SAVE_LOG_REQUESTIf SaveLogRQ sent with incorrect parametersBAD_SAVE_USER_FILTER_REQUESTBad save user filter requestBAD_SAVE_WIDGET_REQUESTIncorrect create widget requestBAD_UPDATE_PREFERENCE_REQUESTIncorrect update preference requestBAD_UPDATE_WIDGET_REQUESTIncorrect update widget requestBINARY_DATA_CANNOT_BE_SAVEDIncorrect Report Portal WS RequestCHILD_START_TIME_EARLIER_THAN_PARENTFinish Time Earlier than start timeDASHBOARD_NOT_FOUNDIf specified by id Dashboard not foundDASHBOARD_NOT_FOUND_IN_PROJECTIf specified by id Dashboard not foundDASHBOARD_UPDATE_ERRORIf Dashboard update request contains invalid dataDEMO_DATA_GENERATION_ERRORUnable to recognize provided authentication typeEMAIL_CONFIGURATION_IS_INCORRECTImpossible operation on server sideFAILED_TEST_ITEM_ISSUE_TYPE_DEFINITIONIncorrect test item descriptionFINISH_ITEM_NOT_ALLOWEDIs not allowed to finish itemFINISH_LAUNCH_NOT_ALLOWEDUnable to finish in current statusFINISH_TIME_EARLIER_THAN_START_TIMEFinish Time Earlier than start timeFORBIDDEN_OPERATIONImpossible operation on server sideIMPORT_FILE_ERRORBad format of importing fileINCORRECT_AUTHENTICATION_TYPEUnable to recognize provided authentication typeINCORRECT_FILTER_PARAMETERSIf provided filtering parameters are incorrectINCORRECT_FINISH_STATUSUnable to finish with incorrect statusINCORRECT_INTEGRATION_NAMEIf it's impossible to use specified integrationINCORRECT_REQUESTIncorrect Report Portal WS RequestINCORRECT_SORTING_PARAMETERSIf specified by id Log not foundINTEGRATION_ALREADY_EXISTSUnable create duplicate of integrationINTEGRATION_NOT_FOUNDIntegration not foundISSUE_TYPE_NOT_FOUNDIf issue type not found (including custom project specific sub-types)LAUNCH_IS_NOT_FINISHEDIf specified by login User not foundLAUNCH_NOT_FOUNDIf specified by id Launch not foundLOG_NOT_FOUNDIf specified by id Log not foundLOGGING_IS_NOT_ALLOWEDUnsupported test item typeOBJECT_RETRIEVAL_ERRORError during the object retrievingPARSING_XML_ERRORError during the xml file parsingPATTERN_ANALYSIS_ERRORPattern analysis errorPATTERN_TEMPLATE_NOT_FOUND_IN_PROJECTIf pattern template with provided id is not foundPLUGIN_REMOVE_ERRORError during the plugin removingPLUGIN_UPLOAD_ERRORError during the plugin uploadingPROJECT_ALREADY_EXISTSIf Project with specified settings already exists and should be uniquePROJECT_DOESNT_CONTAIN_USERBad save user filter requestPROJECT_NOT_CONFIGUREDIf project not configuredPROJECT_NOT_FOUNDIf specified by id Project or by ProjectName not foundPROJECT_SETTINGS_NOT_FOUNDIf project settings for specified project not foundPROJECT_UPDATE_NOT_ALLOWEDProject update not allowed.REPORTING_ITEM_ALREADY_FINISHEDIf Test, TestStep, Launch already finished and writing is disabledRESOURCE_ALREADY_EXISTSIf resource with specified settings already exists and should be uniqueRETRIES_HANDLER_ERRORError while processing retriesROLE_ALREADY_EXISTS_ERRORIf Role with specified settings already exists and should be uniqueROLE_NOT_FOUNDIf specified by id role not foundSERVER_SETTINGS_ALREADY_EXISTSUnable create the duplication of server settings with one profile nameSERVER_SETTINGS_NOT_FOUNDIf server settings for specified profile not foundSTART_ITEM_NOT_ALLOWEDUnable to finish in current statusTEST_ITEM_IS_NOT_FINISHEDUnable to finish with incorrect statusTEST_ITEM_NOT_FOUNDIf specified by id Test not foundTEST_ITEM_OR_LAUNCH_NOT_FOUNDTEST_SUITE_NOT_FOUNDIf specified by id TestSuite not foundTICKET_NOT_FOUNDTicket not foundUNABLE_ADD_TO_FAVORITEUnable add resource to favoritesUNABLE_ASSIGN_UNASSIGN_USER_TO_PROJECT"Unable assign/unassign user to/from projectUNABLE_INTERACT_WITH_INTEGRATIONImpossible to interact with integrationUNABLE_LOAD_TEST_ITEM_HISTORYUnable to load history test item's history.UNABLE_LOAD_WIDGET_CONTENTIf widget content can't be loaded because some of properties are incorrectUNABLE_MODIFY_SHARABLE_RESOURCEUnable modify sharable resourceUNABLE_POST_TICKETImpossible post ticket to BTSUNABLE_REMOVE_FROM_FAVORITEUnable remove resource from favoritesUNABLE_TO_CREATE_WIDGETUnable to create widget based on favorite linkUNABLE_TO_LOAD_BINARY_DATAIf binary data not foundUNABLE_TO_SAVE_CHILD_ITEM_FOR_THE_RETRYUnable to save child item for a retryUNABLE_TO_UPDATE_YOURSELF_ROLEUnable to update yourself roleUNCLASSIFIED_ERRORUse it If there are no any other exceptions.UNCLASSIFIED_REPORT_PORTAL_ERRORBase ReportPortal Exception.UNSUPPORTED_MERGE_STRATEGY_TYPEUnsupported merge strategy typeUNSUPPORTED_TEST_ITEM_TYPEUnsupported test item typeUSER_ALREADY_EXISTSIf User with specified login already exists and should be uniqueUSER_FILTER_ALREADY_EXISTSIf User filter with specified name already exists and should be uniqueUSER_FILTER_NOT_FOUNDIf specified by id UserFilter not foundUSER_FILTER_NOT_FOUND_IN_PROJECTIf specified by id UserFilter not foundUSER_NOT_FOUNDIf specified by login User not foundWIDGET_NOT_FOUNDIf specified by id Widget not foundWIDGET_NOT_FOUND_IN_DASHBOARDIf specified by id Widget not foundWIDGET_NOT_FOUND_IN_PROJECTIf specified by id Widget not found
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorTypegetByCode(int code)Get instance by codeintgetCode()java.lang.StringgetDescription()static ErrorTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDRESS_LOCKED
public static final ErrorType ADDRESS_LOCKED
Access Denied
-
ACCESS_DENIED
public static final ErrorType ACCESS_DENIED
Access Denied
-
INCORRECT_REQUEST
public static final ErrorType INCORRECT_REQUEST
Incorrect Report Portal WS Request
-
BINARY_DATA_CANNOT_BE_SAVED
public static final ErrorType BINARY_DATA_CANNOT_BE_SAVED
Incorrect Report Portal WS Request
-
PROJECT_NOT_FOUND
public static final ErrorType PROJECT_NOT_FOUND
If specified by id Project or by ProjectName not found
-
LAUNCH_NOT_FOUND
public static final ErrorType LAUNCH_NOT_FOUND
If specified by id Launch not found
-
TEST_SUITE_NOT_FOUND
public static final ErrorType TEST_SUITE_NOT_FOUND
If specified by id TestSuite not found
-
TEST_ITEM_NOT_FOUND
public static final ErrorType TEST_ITEM_NOT_FOUND
If specified by id Test not found
-
LOG_NOT_FOUND
public static final ErrorType LOG_NOT_FOUND
If specified by id Log not found
-
ROLE_NOT_FOUND
public static final ErrorType ROLE_NOT_FOUND
If specified by id role not found
-
USER_NOT_FOUND
public static final ErrorType USER_NOT_FOUND
If specified by login User not found
-
WIDGET_NOT_FOUND
public static final ErrorType WIDGET_NOT_FOUND
If specified by id Widget not found
-
WIDGET_NOT_FOUND_IN_DASHBOARD
public static final ErrorType WIDGET_NOT_FOUND_IN_DASHBOARD
If specified by id Widget not found
-
DASHBOARD_NOT_FOUND
public static final ErrorType DASHBOARD_NOT_FOUND
If specified by id Dashboard not found
-
USER_FILTER_NOT_FOUND
public static final ErrorType USER_FILTER_NOT_FOUND
If specified by id UserFilter not found
-
ACTIVITY_NOT_FOUND
public static final ErrorType ACTIVITY_NOT_FOUND
If specified by id Activity not found
-
UNABLE_TO_CREATE_WIDGET
public static final ErrorType UNABLE_TO_CREATE_WIDGET
Unable to create widget based on favorite link
-
INTEGRATION_NOT_FOUND
public static final ErrorType INTEGRATION_NOT_FOUND
Integration not found
-
PROJECT_NOT_CONFIGURED
public static final ErrorType PROJECT_NOT_CONFIGURED
If project not configured
-
SERVER_SETTINGS_NOT_FOUND
public static final ErrorType SERVER_SETTINGS_NOT_FOUND
If server settings for specified profile not found
-
ISSUE_TYPE_NOT_FOUND
public static final ErrorType ISSUE_TYPE_NOT_FOUND
If issue type not found (including custom project specific sub-types)
-
PROJECT_SETTINGS_NOT_FOUND
public static final ErrorType PROJECT_SETTINGS_NOT_FOUND
If project settings for specified project not found
-
TICKET_NOT_FOUND
public static final ErrorType TICKET_NOT_FOUND
Ticket not found
-
AUTH_INTEGRATION_NOT_FOUND
public static final ErrorType AUTH_INTEGRATION_NOT_FOUND
If specified Authentication extension isn't found
-
WIDGET_NOT_FOUND_IN_PROJECT
public static final ErrorType WIDGET_NOT_FOUND_IN_PROJECT
If specified by id Widget not found
-
USER_FILTER_NOT_FOUND_IN_PROJECT
public static final ErrorType USER_FILTER_NOT_FOUND_IN_PROJECT
If specified by id UserFilter not found
-
DASHBOARD_NOT_FOUND_IN_PROJECT
public static final ErrorType DASHBOARD_NOT_FOUND_IN_PROJECT
If specified by id Dashboard not found
-
PATTERN_TEMPLATE_NOT_FOUND_IN_PROJECT
public static final ErrorType PATTERN_TEMPLATE_NOT_FOUND_IN_PROJECT
If pattern template with provided id is not found
-
TEST_ITEM_OR_LAUNCH_NOT_FOUND
public static final ErrorType TEST_ITEM_OR_LAUNCH_NOT_FOUND
-
ANALYZER_NOT_FOUND
public static final ErrorType ANALYZER_NOT_FOUND
If analyzer with provided name is not found
-
ATTACHMENT_NOT_FOUND
public static final ErrorType ATTACHMENT_NOT_FOUND
If attachment with provided id not found
-
UNABLE_TO_LOAD_BINARY_DATA
public static final ErrorType UNABLE_TO_LOAD_BINARY_DATA
If binary data not found
-
INCORRECT_FILTER_PARAMETERS
public static final ErrorType INCORRECT_FILTER_PARAMETERS
If provided filtering parameters are incorrect
-
INCORRECT_SORTING_PARAMETERS
public static final ErrorType INCORRECT_SORTING_PARAMETERS
If specified by id Log not found
-
INCORRECT_INTEGRATION_NAME
public static final ErrorType INCORRECT_INTEGRATION_NAME
If it's impossible to use specified integration
-
UNABLE_MODIFY_SHARABLE_RESOURCE
public static final ErrorType UNABLE_MODIFY_SHARABLE_RESOURCE
Unable modify sharable resource
-
INCORRECT_AUTHENTICATION_TYPE
public static final ErrorType INCORRECT_AUTHENTICATION_TYPE
Unable to recognize provided authentication type
-
UNABLE_POST_TICKET
public static final ErrorType UNABLE_POST_TICKET
Impossible post ticket to BTS
-
UNABLE_INTERACT_WITH_INTEGRATION
public static final ErrorType UNABLE_INTERACT_WITH_INTEGRATION
Impossible to interact with integration
-
UNABLE_ASSIGN_UNASSIGN_USER_TO_PROJECT
public static final ErrorType UNABLE_ASSIGN_UNASSIGN_USER_TO_PROJECT
"Unable assign/unassign user to/from project
-
EMAIL_CONFIGURATION_IS_INCORRECT
public static final ErrorType EMAIL_CONFIGURATION_IS_INCORRECT
Impossible operation on server side
-
PROJECT_UPDATE_NOT_ALLOWED
public static final ErrorType PROJECT_UPDATE_NOT_ALLOWED
Project update not allowed. This restriction is applied to Personal projects and internal EPAM's project type
-
UNABLE_TO_UPDATE_YOURSELF_ROLE
public static final ErrorType UNABLE_TO_UPDATE_YOURSELF_ROLE
Unable to update yourself role
-
FORBIDDEN_OPERATION
public static final ErrorType FORBIDDEN_OPERATION
Impossible operation on server side
-
RESOURCE_ALREADY_EXISTS
public static final ErrorType RESOURCE_ALREADY_EXISTS
If resource with specified settings already exists and should be unique
-
ROLE_ALREADY_EXISTS_ERROR
public static final ErrorType ROLE_ALREADY_EXISTS_ERROR
If Role with specified settings already exists and should be unique
-
USER_ALREADY_EXISTS
public static final ErrorType USER_ALREADY_EXISTS
If User with specified login already exists and should be unique
-
USER_FILTER_ALREADY_EXISTS
public static final ErrorType USER_FILTER_ALREADY_EXISTS
If User filter with specified name already exists and should be unique
-
PROJECT_ALREADY_EXISTS
public static final ErrorType PROJECT_ALREADY_EXISTS
If Project with specified settings already exists and should be unique
-
DASHBOARD_UPDATE_ERROR
public static final ErrorType DASHBOARD_UPDATE_ERROR
If Dashboard update request contains invalid data
-
UNABLE_LOAD_WIDGET_CONTENT
public static final ErrorType UNABLE_LOAD_WIDGET_CONTENT
If widget content can't be loaded because some of properties are incorrect
-
UNABLE_ADD_TO_FAVORITE
public static final ErrorType UNABLE_ADD_TO_FAVORITE
Unable add resource to favorites
-
INTEGRATION_ALREADY_EXISTS
public static final ErrorType INTEGRATION_ALREADY_EXISTS
Unable create duplicate of integration
-
SERVER_SETTINGS_ALREADY_EXISTS
public static final ErrorType SERVER_SETTINGS_ALREADY_EXISTS
Unable create the duplication of server settings with one profile name
-
UNABLE_REMOVE_FROM_FAVORITE
public static final ErrorType UNABLE_REMOVE_FROM_FAVORITE
Unable remove resource from favorites
-
LAUNCH_IS_NOT_FINISHED
public static final ErrorType LAUNCH_IS_NOT_FINISHED
If specified by login User not found
-
TEST_ITEM_IS_NOT_FINISHED
public static final ErrorType TEST_ITEM_IS_NOT_FINISHED
Unable to finish with incorrect status
-
INCORRECT_FINISH_STATUS
public static final ErrorType INCORRECT_FINISH_STATUS
Unable to finish with incorrect status
-
BAD_REQUEST_ERROR
public static final ErrorType BAD_REQUEST_ERROR
Base Error If Request sent with incorrect parameters
-
BAD_SAVE_LOG_REQUEST
public static final ErrorType BAD_SAVE_LOG_REQUEST
If SaveLogRQ sent with incorrect parameters
-
REPORTING_ITEM_ALREADY_FINISHED
public static final ErrorType REPORTING_ITEM_ALREADY_FINISHED
If Test, TestStep, Launch already finished and writing is disabled
-
AMBIGUOUS_TEST_ITEM_STATUS
public static final ErrorType AMBIGUOUS_TEST_ITEM_STATUS
Occurs when status is not provided and cannot be calculated or provided status does not corresponds to calculated from statistics.
-
FAILED_TEST_ITEM_ISSUE_TYPE_DEFINITION
public static final ErrorType FAILED_TEST_ITEM_ISSUE_TYPE_DEFINITION
Incorrect test item description
-
FINISH_TIME_EARLIER_THAN_START_TIME
public static final ErrorType FINISH_TIME_EARLIER_THAN_START_TIME
Finish Time Earlier than start time
-
FINISH_ITEM_NOT_ALLOWED
public static final ErrorType FINISH_ITEM_NOT_ALLOWED
Is not allowed to finish item
-
FINISH_LAUNCH_NOT_ALLOWED
public static final ErrorType FINISH_LAUNCH_NOT_ALLOWED
Unable to finish in current status
-
START_ITEM_NOT_ALLOWED
public static final ErrorType START_ITEM_NOT_ALLOWED
Unable to finish in current status
-
CHILD_START_TIME_EARLIER_THAN_PARENT
public static final ErrorType CHILD_START_TIME_EARLIER_THAN_PARENT
Finish Time Earlier than start time
-
UNSUPPORTED_TEST_ITEM_TYPE
public static final ErrorType UNSUPPORTED_TEST_ITEM_TYPE
Unsupported test item type
-
LOGGING_IS_NOT_ALLOWED
public static final ErrorType LOGGING_IS_NOT_ALLOWED
Unsupported test item type
-
BAD_SAVE_WIDGET_REQUEST
public static final ErrorType BAD_SAVE_WIDGET_REQUEST
Incorrect create widget request
-
BAD_UPDATE_WIDGET_REQUEST
public static final ErrorType BAD_UPDATE_WIDGET_REQUEST
Incorrect update widget request
-
UNABLE_LOAD_TEST_ITEM_HISTORY
public static final ErrorType UNABLE_LOAD_TEST_ITEM_HISTORY
Unable to load history test item's history.
-
BAD_SAVE_USER_FILTER_REQUEST
public static final ErrorType BAD_SAVE_USER_FILTER_REQUEST
Bad save user filter request
-
RETRIES_HANDLER_ERROR
public static final ErrorType RETRIES_HANDLER_ERROR
Error while processing retries
-
IMPORT_FILE_ERROR
public static final ErrorType IMPORT_FILE_ERROR
Bad format of importing file
-
PARSING_XML_ERROR
public static final ErrorType PARSING_XML_ERROR
Error during the xml file parsing
-
OBJECT_RETRIEVAL_ERROR
public static final ErrorType OBJECT_RETRIEVAL_ERROR
Error during the object retrieving
-
PLUGIN_UPLOAD_ERROR
public static final ErrorType PLUGIN_UPLOAD_ERROR
Error during the plugin uploading
-
PLUGIN_REMOVE_ERROR
public static final ErrorType PLUGIN_REMOVE_ERROR
Error during the plugin removing
-
UNABLE_TO_SAVE_CHILD_ITEM_FOR_THE_RETRY
public static final ErrorType UNABLE_TO_SAVE_CHILD_ITEM_FOR_THE_RETRY
Unable to save child item for a retry
-
PATTERN_ANALYSIS_ERROR
public static final ErrorType PATTERN_ANALYSIS_ERROR
Pattern analysis error
-
PROJECT_DOESNT_CONTAIN_USER
public static final ErrorType PROJECT_DOESNT_CONTAIN_USER
Bad save user filter request
-
UNCLASSIFIED_REPORT_PORTAL_ERROR
public static final ErrorType UNCLASSIFIED_REPORT_PORTAL_ERROR
Base ReportPortal Exception. Try to avoid this type and create more custom
-
BAD_UPDATE_PREFERENCE_REQUEST
public static final ErrorType BAD_UPDATE_PREFERENCE_REQUEST
Incorrect update preference request
-
UNSUPPORTED_MERGE_STRATEGY_TYPE
public static final ErrorType UNSUPPORTED_MERGE_STRATEGY_TYPE
Unsupported merge strategy type
-
DEMO_DATA_GENERATION_ERROR
public static final ErrorType DEMO_DATA_GENERATION_ERROR
Unable to recognize provided authentication type
-
UNCLASSIFIED_ERROR
public static final ErrorType UNCLASSIFIED_ERROR
Use it If there are no any other exceptions. There should by no such exception
-
-
Method Detail
-
values
public static ErrorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ErrorType c : ErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCode
public int getCode()
-
getDescription
public java.lang.String getDescription()
-
getByCode
public static ErrorType getByCode(int code)
Get instance by code- Parameters:
code- Error Code- Returns:
- ErrorType
-
-