windows-nt/Source/XPSP1/NT/inetsrv/query/web/dll/idqexcpt.hxx

40 lines
1,015 B
C++
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
//+---------------------------------------------------------------------------
//
// Copyright (C) 1994, Microsoft Corporation.
//
// File: idqexcpt.hxx
//
// Contents: Message exception package for IDQ files
//
// History: 96-Jan-98 DwightKr Created
//
//----------------------------------------------------------------------------
#pragma once
//+---------------------------------------------------------------------------
//
// Class: CIDQException
//
// Purpose: Exception class containing message numbers referring to
// keys within query.dll
//
// History: 96-Feb-26 DwightKr Created.
//
//----------------------------------------------------------------------------
class CIDQException : public CException
{
public:
CIDQException( long lError, ULONG ulErrorIndex )
: _ulErrorIndex(ulErrorIndex), CException(lError)
{
}
ULONG GetErrorIndex() const { return _ulErrorIndex; }
private:
ULONG _ulErrorIndex;
};