NoDataException.cs 478 B

12345678910111213141516171819
  1. using System;
  2. using Quadarax.Foundation.Core.Exceptions;
  3. namespace BO.AppServer.Business.Exceptions
  4. {
  5. public class NoDataException : CodeException
  6. {
  7. private const string CS_MESSAGE = "No data returns but not expected.";
  8. private const int CN_CODE = 1099;
  9. public NoDataException(Exception innerException) : base(CN_CODE, CS_MESSAGE)
  10. {
  11. }
  12. public NoDataException() : base(CN_CODE, CS_MESSAGE)
  13. {
  14. }
  15. }
  16. }