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

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

There is a newer version: 2.2.10
Show newest version
package net.gdface.sdk.thrift;
import net.gdface.thrift.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 - 2024 Weber Informatics LLC | Privacy Policy