com.rt.logic.exception.BaseException Maven / Gradle / Ivy
The newest version!
package com.rt.logic.exception;
import lombok.Getter;
/**
* @author liujia
*/
public class BaseException extends RuntimeException {
@Getter
private String code;
public BaseException() {
super();
}
public BaseException(String code, String message) {
super(message);
this.code = code;
}
public BaseException(String code, String message, Throwable cause) {
super(message, cause);
this.code = code;
}
}