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

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

The newest version!
package com.alibaba.ocean.rawsdk.client.exception;

/**
 * Api server which has been called by Ocean occurs a exception
 * 
 * @see APIInvokeException
 * @author xiaoning.qxn
 */
public class InvokeTargetException extends APIInvokeException {

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

    @Override
    protected void initDefaultErrorCode() {
        errorCode = "500";
    }

    public InvokeTargetException(){
    }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy