
com.hecloud.runtime.common.exception.DatabaseException Maven / Gradle / Ivy
package com.hecloud.runtime.common.exception;
import lombok.Getter;
import lombok.Setter;
/**
* @author LoveInBJ
*/
public class DatabaseException extends RuntimeException {
@Getter
private final String code = "DATABASE_EXCEPTION";
@Getter
@Setter
private String solution;
public DatabaseException(String message, Throwable cause) {
super(message, cause);
}
public DatabaseException(Throwable cause) {
super(cause);
}
public DatabaseException(String message, Throwable cause, String solution) {
super(message, cause);
this.solution = solution;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy