forked from leelance/spring-boot-all
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
spring-boot-activiti/src/main/java/com/lance/activiti/common/exception/ServiceException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package com.lance.activiti.common.exception; | ||
|
||
/** | ||
* 自定义针对service异常 | ||
* @author lance | ||
* 2015年5月27日 下午5:09:01 | ||
*/ | ||
public class ServiceException extends RuntimeException { | ||
private static final long serialVersionUID = 8624944628363400977L; | ||
|
||
public ServiceException() { | ||
super(); | ||
} | ||
|
||
public ServiceException(String message, Throwable cause, | ||
boolean enableSuppression, boolean writableStackTrace) { | ||
super(message, cause, enableSuppression, writableStackTrace); | ||
} | ||
|
||
public ServiceException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
public ServiceException(String message) { | ||
super(message); | ||
} | ||
|
||
public ServiceException(Throwable cause) { | ||
super(cause); | ||
} | ||
} |