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

com.suchtool.nicecommon.core.exception.CustomCodeException Maven / Gradle / Ivy

There is a newer version: 1.0.11
Show newest version
package com.suchtool.nicecommon.core.exception;

import lombok.Getter;

/**
 * 自定义编码异常
 */
@Getter
public class CustomCodeException extends RuntimeException{
    private Integer code;

    public CustomCodeException() {
        super();
    }

    public CustomCodeException(Integer code) {
        this.code = code;
    }

    public CustomCodeException(Integer code, String message) {
        super(message);
        this.code = code;
    }

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

    public CustomCodeException(String message, Throwable cause) {
        super(message, cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy