NoExistDeviceException.cs 416 B

123456789101112131415161718
  1. using System;
  2. using System.Globalization;
  3. using WingInterfaceLibrary.Enum;
  4. using JsonRpcLite.Services;
  5. namespace WingDeviceService.Common
  6. {
  7. /// <summary>
  8. /// 设备不存在
  9. /// </summary>
  10. public class NoExistDeviceException : RpcException
  11. {
  12. public NoExistDeviceException() : base((int)CustomerRpcCode.NoExistDevice, "Device does not exist", null)
  13. {
  14. }
  15. }
  16. }