手动建立处理业务层的异常
2017-11-08 本文已影响8人
itcode
public class ServiceException extends RuntimeException{
public ServiceException(){}
public ServiceException(String message) {
super(message);
}
public ServiceException(Throwable th) {
super(th);
}
public ServiceException(String message,Throwable th) {
super(message,th);
}
}