Newer
Older
danjiangkou_dajiang / DJI-Cloud-API-Demo-main / src / main / java / com / dji / sdk / exception / CloudSDKVersionException.java
@yanghui yanghui on 24 Jan 517 bytes 大疆demo代码提交
package com.dji.sdk.exception;

import com.dji.sdk.config.version.CloudSDKVersionEnum;

/**
 * @author sean
 * @version 1.7
 * @date 2023/6/7
 */
public class CloudSDKVersionException extends CloudSDKException {

    public CloudSDKVersionException(String thingVersion) {
        super(String.format("The current CloudSDK version(%s) does not support this thing version(%s), " +
                "please replace the corresponding CloudSDK version.)", CloudSDKVersionEnum.DEFAULT.getVersion(), thingVersion));
    }

}