com.feingto.cloud.exception.ServiceException Maven / Gradle / Ivy
package com.feingto.cloud.exception;
/**
* Service层公用的Exception
*
* 继承RuntimeException, 从由Spring管理事务的函数中抛出时会触发事务回滚.
*/
@SuppressWarnings("WeakerAccess")
public class ServiceException extends RuntimeException {
private static final long serialVersionUID = 3583566093089790852L;
public ServiceException() {
super();
}
public ServiceException(String message) {
super(message);
}
public ServiceException(Throwable cause) {
super(cause);
}
public ServiceException(String message, Throwable cause) {
super(message, cause);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy