io.hcxprotocol.utils.ResponseMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hcx-integrator-sdk Show documentation
Show all versions of hcx-integrator-sdk Show documentation
The SDK for HCX Participant System to help in integrating with HCX Gateway easily.
package io.hcxprotocol.utils;
/**
* All the error messages used in HCX Integrator SDK.
*/
public interface ResponseMessage {
String INVALID_PAYLOAD_LENGTH_ERR_MSG = "Mandatory elements of JWE token are missing.Should have all 5 elements";
String INVALID_PAYLOAD_VALUES_ERR_MSG = "Payload contains null or empty values";
String INVALID_API_CALL_ID_ERR_MSG = "Api call id cannot be null, empty and other than 'String'";
String INVALID_CORRELATION_ID_ERR_MSG = "Correlation id cannot be null, empty and other than 'String'";
String INVALID_WORKFLOW_ID_ERR_MSG = "Workflow id should be a string";
String INVALID_TIMESTAMP_ERR_MSG = "Timestamp cannot be in future date";
String INVALID_DEBUG_FLAG_ERR_MSG = "Debug flag cannot be null, empty and other than 'String'";
String INVALID_DEBUG_FLAG_RANGE_ERR_MSG = "Debug flag cannot be other than {0}";
String INVALID_ERROR_DETAILS_ERR_MSG = "Error details cannot be null, empty and other than 'JSON Object' with mandatory fields code or message";
String INVALID_ERROR_DETAILS_RANGE_ERR_MSG = "Error details should contain only: {0}";
String INVALID_ERROR_DETAILS_CODE_ERR_MSG ="Invalid Error Code";
String INVALID_DEBUG_DETAILS_ERR_MSG = "Debug details cannot be null, empty and other than 'JSON Object' with mandatory fields code or message";
String INVALID_DEBUG_DETAILS_RANGE_ERR_MSG = "Debug details should contain only: {0}";
String INVALID_STATUS_ERR_MSG = "Status cannot be null, empty and other than 'String'";
String INVALID_STATUS_ACTION_RANGE_ERR_MSG = "Status value for action API calls can be only: {0}";
String INVALID_STATUS_ON_ACTION_RANGE_ERR_MSG = "Status value for on_action API calls can be only: {0}";
String INVALID_MANDATORY_ERR_MSG = "Mandatory headers are missing: {0}";
String INVALID_REDIRECT_ERR_MSG = "Redirect requests must have valid participant code for field {0}";
String INVALID_REDIRECT_SELF_ERR_MSG = "Sender can not redirect request to self";
String INVALID_JSON_REQUEST_BODY_ERR_MSG = "Request body should be a proper JWE object for action API calls";
}