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

net.gdface.sdk.thrift.ServiceRuntimeException Maven / Gradle / Ivy

The newest version!
// ______________________________________________________
// Generated by codegen - https://gitee.com/l0km/codegen 
// template: thrift/client/schema/service.runtime.exception.class.vm
// ______________________________________________________
package net.gdface.sdk.thrift;
import com.gitee.l0km.xthrift.base.exception.client.BaseServiceRuntimeException;
import static com.google.common.base.Preconditions.*;

/**
 * 服务端抛出的 runtime 异常
 * @author guyadong
 *
 */
public class ServiceRuntimeException extends BaseServiceRuntimeException{
    private static final long serialVersionUID = 1L;

    ServiceRuntimeException(net.gdface.sdk.thrift.client.ServiceRuntimeException cause) {
        super(checkNotNull(cause,"cause is null"));
        type = cause.getType();
        message = cause.getMessage();
        causeClass = cause.getCauseClass();
        causeFields = cause.getCauseFields();
        serviceStackTraceMessage = cause.getServiceStackTraceMessage();
    }        
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy