You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mitlib.pub/MITLIB/Utility/PromptExceptionMessage.h

40 lines
1.4 KiB
C

// PromptExceptionMessage.h: interface for the CPromptExceptionMessage class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PROMPTEXCEPTIONMESSAGE_H__4D364042_B92D_44C5_8D8A_95E479993E7B__INCLUDED_)
#define AFX_PROMPTEXCEPTIONMESSAGE_H__4D364042_B92D_44C5_8D8A_95E479993E7B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifdef BUILD_UTILITYDLL
#define UTILITYDLL __declspec(dllexport)
#else
#define UTILITYDLL __declspec(dllimport)
#endif
/////////////////////////////////////////////////////////////////////////////
// CPromptExceptionMessage
class UTILITYDLL CPromptExceptionMessage
{
public:
// default constructor
CPromptExceptionMessage();
// default destructor
virtual ~CPromptExceptionMessage();
// prompt Dao exception specific the file, table and field
static void promptDaoException(CDaoException* DaoException, CString csDbFileName = "",
CString csTableName = "", CString csField = "",
CString csFieldname = "");
// prompt Memory exception specific the file
static void promptMemoryException(CMemoryException* MemoryException, CString csDbFileName = "");
};
#endif // !defined(AFX_PROMPTEXCEPTIONMESSAGE_H__4D364042_B92D_44C5_8D8A_95E479993E7B__INCLUDED_)