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

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

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

/**
 * Client side exception of Ocean
 * 
 * @see APIInvokeException
 * @author xiaoning.qxn
 */
public class OceanClientException extends OceanException {

    /**
	 * 
	 */
    private static final long serialVersionUID = -8369983656444533967L;

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

    public OceanClientException(){
    }

    /**
     * @param message
     */
    public OceanClientException(String message){
        super(message);
        initDefaultErrorCode();
    }

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy