001// ______________________________________________________
002// Generated by codegen - https://gitee.com/l0km/codegen 
003// template: thrift/client/schema/service.runtime.exception.class.vm
004// ______________________________________________________
005package net.gdface.sdk.fse.thrift;
006import net.gdface.thrift.exception.client.BaseServiceRuntimeException;
007import static com.google.common.base.Preconditions.*;
008
009/**
010 * 服务端抛出的 runtime 异常
011 * @author guyadong
012 *
013 */
014public class ServiceRuntimeException extends BaseServiceRuntimeException{
015    private static final long serialVersionUID = 1L;
016
017    ServiceRuntimeException(net.gdface.sdk.fse.thrift.client.ServiceRuntimeException cause) {
018        super(checkNotNull(cause,"cause is null"));
019        type = cause.getType();
020        message = cause.getMessage();
021        causeClass = cause.getCauseClass();
022        causeFields = cause.getCauseFields();
023        serviceStackTraceMessage = cause.getServiceStackTraceMessage();
024    }        
025}