Commit b69c851c by guojuxing

新增用户添加事务

parent 4435c65b
package com.gic.auth.exception;
import com.gic.api.base.commons.ServiceResponse;
/**
* @author guojx
* @date 2019/6/26 2:03 PM
*/
public class StoreException extends RuntimeException{
public class AuthException extends RuntimeException{
private String errorCode;
public StoreException(String errorCode, String message) {
public AuthException(String errorCode, String message) {
super(message);
this.errorCode = errorCode;
}
public AuthException(ServiceResponse serviceResponse) {
super(serviceResponse.getMessage());
this.errorCode = serviceResponse.getCode();
}
public String getErrorCode() {
return errorCode;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment