Java Code Examples for com.alibaba.rocketmq.common.help.FAQUrl#attachDefaultURL()

The following examples show how to use com.alibaba.rocketmq.common.help.FAQUrl#attachDefaultURL() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MQBrokerException.java    From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 4 votes vote down vote up
public MQBrokerException(int responseCode, String errorMessage) {
    super(FAQUrl.attachDefaultURL("CODE: " + UtilAll.responseCode2String(responseCode) + "  DESC: "
            + errorMessage));
    this.responseCode = responseCode;
    this.errorMessage = errorMessage;
}
 
Example 2
Source File: MQClientException.java    From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 4 votes vote down vote up
public MQClientException(String errorMessage, Throwable cause) {
    super(FAQUrl.attachDefaultURL(errorMessage), cause);
    this.responseCode = -1;
    this.errorMessage = errorMessage;
}
 
Example 3
Source File: MQClientException.java    From reading-and-annotate-rocketmq-3.4.6 with GNU General Public License v3.0 4 votes vote down vote up
public MQClientException(int responseCode, String errorMessage) {
    super(FAQUrl.attachDefaultURL("CODE: " + UtilAll.responseCode2String(responseCode) + "  DESC: "
            + errorMessage));
    this.responseCode = responseCode;
    this.errorMessage = errorMessage;
}
 
Example 4
Source File: MQBrokerException.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
public MQBrokerException(int responseCode, String errorMessage) {
    super(FAQUrl.attachDefaultURL("CODE: " + UtilAll.responseCode2String(responseCode) + "  DESC: "
            + errorMessage));
    this.responseCode = responseCode;
    this.errorMessage = errorMessage;
}
 
Example 5
Source File: MQClientException.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
public MQClientException(String errorMessage, Throwable cause) {
    super(FAQUrl.attachDefaultURL(errorMessage), cause);
    this.responseCode = -1;
    this.errorMessage = errorMessage;
}
 
Example 6
Source File: MQClientException.java    From rocketmq with Apache License 2.0 4 votes vote down vote up
public MQClientException(int responseCode, String errorMessage) {
    super(FAQUrl.attachDefaultURL("CODE: " + UtilAll.responseCode2String(responseCode) + "  DESC: "
            + errorMessage));
    this.responseCode = responseCode;
    this.errorMessage = errorMessage;
}
 
Example 7
Source File: MQBrokerException.java    From RocketMQ-Master-analyze with Apache License 2.0 4 votes vote down vote up
public MQBrokerException(int responseCode, String errorMessage) {
    super(FAQUrl.attachDefaultURL(
        "CODE: " + UtilAll.responseCode2String(responseCode) + "  DESC: " + errorMessage));
    this.responseCode = responseCode;
    this.errorMessage = errorMessage;
}
 
Example 8
Source File: MQClientException.java    From RocketMQ-Master-analyze with Apache License 2.0 4 votes vote down vote up
public MQClientException(String errorMessage, Throwable cause) {
    super(FAQUrl.attachDefaultURL(errorMessage), cause);
    this.responseCode = -1;
    this.errorMessage = errorMessage;
}
 
Example 9
Source File: MQClientException.java    From RocketMQ-Master-analyze with Apache License 2.0 4 votes vote down vote up
public MQClientException(int responseCode, String errorMessage) {
    super(FAQUrl.attachDefaultURL(
        "CODE: " + UtilAll.responseCode2String(responseCode) + "  DESC: " + errorMessage));
    this.responseCode = responseCode;
    this.errorMessage = errorMessage;
}