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

net.dubboclub.dubbogenerator.InvokeTargetException Maven / Gradle / Ivy

The newest version!
package net.dubboclub.dubbogenerator;

/**
 * Created by bieber on 2015/7/31.
 */
public class InvokeTargetException extends RuntimeException {
    
    private Class targetType;
    
    private String targetMethod;
    
    private Throwable cause;

    public InvokeTargetException(Class targetType,String targetMethod,Throwable cause) {
        super(cause);
        this.targetType=targetType;
        this.targetMethod=targetMethod;
        cause=cause.getCause();
    }

    public InvokeTargetException(String message) {
        super(message);
    }

    public InvokeTargetException(String message, Throwable cause) {
        super(message, cause);
    }

    public InvokeTargetException(Throwable cause) {
        super(cause);
    }

    public Class getTargetType() {
        return targetType;
    }

    public String getTargetMethod() {
        return targetMethod;
    }

    @Override
    public Throwable getCause() {
        return cause;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy