Enum ErrorType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ErrorType>

    public enum ErrorType
    extends java.lang.Enum<ErrorType>
    Report Portal's exception list
    • 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 name
        java.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