|
@@ -8,7 +8,6 @@
|
|
|
package cn.com.qmth.examcloud.support.helper;
|
|
|
|
|
|
import cn.com.qmth.examcloud.api.commons.enums.ExamSpecialSettingsType;
|
|
|
-import cn.com.qmth.examcloud.api.commons.enums.SubmitType;
|
|
|
import cn.com.qmth.examcloud.commons.util.StringUtil;
|
|
|
import cn.com.qmth.examcloud.support.cache.CacheHelper;
|
|
|
import cn.com.qmth.examcloud.support.cache.bean.*;
|
|
@@ -17,7 +16,6 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
|
|
|
|
|
|
/**
|
|
|
* @Description 网考缓存实体转换服务
|
|
@@ -70,7 +68,7 @@ public class ExamCacheTransferHelper {
|
|
|
break;
|
|
|
case COURSE_BASED:
|
|
|
//暂无此需求
|
|
|
- throw new NotImplementedException();
|
|
|
+ throw new RuntimeException();
|
|
|
}
|
|
|
}
|
|
|
return examBean;
|
|
@@ -125,7 +123,7 @@ public class ExamCacheTransferHelper {
|
|
|
break;
|
|
|
case COURSE_BASED:
|
|
|
//暂无此需求
|
|
|
- throw new NotImplementedException();
|
|
|
+ throw new RuntimeException();
|
|
|
}
|
|
|
if (specialExamProperty.getHasValue()) {
|
|
|
return specialExamProperty;
|