All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.ocean.rawsdk.client.exception.AuthServiceException Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package com.alibaba.ocean.rawsdk.client.exception;

/**
 * Occur auth Exception when the client try to pass the authenticate or get some permission
 * 
 * @see OceanClientException
 * @author xiaoning.qxn
 */
public class AuthServiceException extends OceanClientException {

    /**
	 * 
	 */
    private static final long serialVersionUID = 1966110063291114667L;

    protected void initDefaultErrorCode() {
        errorCode = "401";
    }

    public AuthServiceException(){
    }

    /**
     * @param message
     */
    public AuthServiceException(String message){
        super("auth service exception:" + message);
        initDefaultErrorCode();
    }

    /**
     * @param cause
     */
    public AuthServiceException(Throwable cause){
        super(cause);
        initDefaultErrorCode();
    }

    /**
     * @param message
     * @param cause
     */
    public AuthServiceException(String message, Throwable cause){
        super(message, cause);
        initDefaultErrorCode();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy