1234567891011121314151617181920212223242526272829 |
- /**
- * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
- */
- package com.jeeplus.common.service;
- /**
- * Service层公用的Exception, 从由Spring管理事务的函数中抛出时会触发事务回滚.
- * @author jeeplus
- */
- public class ServiceException extends RuntimeException {
- private static final long serialVersionUID = 1L;
- public ServiceException() {
- super();
- }
- public ServiceException(String message) {
- super(message);
- }
- public ServiceException(Throwable cause) {
- super(cause);
- }
- public ServiceException(String message, Throwable cause) {
- super(message, cause);
- }
- }
|