All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.openservices.ons.api.exactlyonce.MQUnsupportException Maven / Gradle / Ivy

There is a newer version: 1.9.3.Final
Show newest version
package com.aliyun.openservices.ons.api.exactlyonce;

/**
 * @author gongshi
 */
public class MQUnsupportException extends RuntimeException {
    private int code;

    public MQUnsupportException() {
    }

    public MQUnsupportException(String message) {
        super(message);
    }

    public MQUnsupportException(String message, int code) {
        super(message);
        this.code = code;
    }

    public MQUnsupportException(String message, Throwable cause, int code) {
        super(message, cause);
        this.code = code;
    }

    public MQUnsupportException(Throwable cause, int code) {
        super(cause);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy