Skip to content

Commit

Permalink
add exception handler
Browse files Browse the repository at this point in the history
  • Loading branch information
leelance committed Jan 3, 2017
1 parent 0e5cdd5 commit 0d9aaf8
Showing 1 changed file with 31 additions and 0 deletions.
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);
}
}

0 comments on commit 0d9aaf8

Please sign in to comment.