Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.0 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1994, Microsoft Corporation.
  4. //
  5. // File: idqexcpt.hxx
  6. //
  7. // Contents: Message exception package for IDQ files
  8. //
  9. // History: 96-Jan-98 DwightKr Created
  10. //
  11. //----------------------------------------------------------------------------
  12. #pragma once
  13. //+---------------------------------------------------------------------------
  14. //
  15. // Class: CIDQException
  16. //
  17. // Purpose: Exception class containing message numbers referring to
  18. // keys within query.dll
  19. //
  20. // History: 96-Feb-26 DwightKr Created.
  21. //
  22. //----------------------------------------------------------------------------
  23. class CIDQException : public CException
  24. {
  25. public:
  26. CIDQException( long lError, ULONG ulErrorIndex )
  27. : _ulErrorIndex(ulErrorIndex), CException(lError)
  28. {
  29. }
  30. ULONG GetErrorIndex() const { return _ulErrorIndex; }
  31. private:
  32. ULONG _ulErrorIndex;
  33. };