package com.wisedu.mooc.app.user.exception;

import com.wisedu.coeus.core.exception.CoeusBaseException;

public class UserSyncException extends CoeusBaseException {

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public UserSyncException(String code, String message) {
        super(code, message);
    }

    public UserSyncException(Throwable throwable) {
        super(throwable);
    }

    public static final String COMMAND_CODE_SUCCESS = "000000";
    public static final String COMMAND_CODE_BAD_REQUEST = "000001";
    public static final String COMMAND_CODE_PARAMETER_ERROR = "000002";
    public static final String COMMAND_CODE_LOGIN_INVAILD = "000003";

    public static final String COMMAND_CODE_EXPECT_END = "000100";
    public static final String COMMAND_CODE_INTERNAL_ERROR  = "000101";
    
    public static final String COMMAND_CODE_USER_EXIST  = "000200";
    public static final String COMMAND_CODE_USER_NOT_EXIST  = "000201";


    public static final String COMMAND_MSG_SUCCESS = "命令执行成功";
    public static final String COMMAND_MSG_BAD_REQUEST = "无效请求";
    public static final String COMMAND_MSG_PARAMETER_ERROR = "参数错误";
    public static final String COMMAND_MSG_EXPECT_END = "调用失败";
    public static final String COMMAND_MSG_LOGIN_INVAILD = "会话无效";
    public static final String COMMAND_MSG_INTERNAL_ERROR = "服务器內部错误";
    
    public static final String COMMAND_MSG_USER_EXIST  = "用户已存在";
    public static final String COMMAND_MSG_USER_NOT_EXIST  = "用户不存在";
    
}
