@ -61,7 +61,7 @@ public class AccountService {
// logout
public void logout() {
if ( this.deviceService.isExecutorRunning() ) {
throw new RuntimeException("ACCOUNT_LOGOUT_EXECUTOR_RUNNING");
throw new RuntimeException("设备正在运行,无法退出登录");
}
this.actionLog.log("account.logout");
@ -83,7 +83,7 @@ public class DeviceService {
*/
public void start() {
if ( null != this.taskExecutor ) {
throw new RuntimeException("DEVICE_ALREADY_STARTED");
throw new RuntimeException("设备已启动");
// @TODO : 后面要详细检查耗材