
com.gitee.cliveyuan.tools.exception.BaseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-tools Show documentation
Show all versions of java-tools Show documentation
Some commonly used methods in java
package com.gitee.cliveyuan.tools.exception;
/**
* 基础异常
*
* @author clive
* Created on 2018/07/23
* @since 1.0
*/
public class BaseException extends RuntimeException {
public BaseException(String message) {
super(message);
}
public BaseException(int code, String message) {
super(message);
this.code = code;
}
private int code;
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy