viserror.h
来自「microsoft vision source code」· C头文件 代码 · 共 37 行
H
37 行
////////////////////////////////////////////////////////////////////////////
//
// @doc INTERNAL EXTERNAL VISERROR
//
// @module VisError.h |
//
// This file defines error objects used for the exception handling
// in MSVisSDK. The basic object, CVisError, is a base class that provides
// some information about the exception (file name, function name, etc.)
// CVisFileIOError and CVisMemoryError are derived from CVisError class.
// They contain more specific information about the nature of the exception.
//
// <nl>
//
// @devnote:(INTERNAL)
//
// Due to a bug in VC++, the _LINE_ macro doesn't return the right
// line number. This causes an exception object to be created with a
// wrong line number. Once this bug is fixed, line number should be
// reported correctly by all the error objects.
//
// FullMessage member function returns an error message with file name,
// function name and the error message specific to a certain error object.
// Each piece of this information can be obtained separately by using appropriate
// member functions.
//
// Protected member function ComposeMessages takes a number (n) of strings
// and concatenates them together into one message.
//
// @todo:(INTERNAL)
// We should have macros to throw the common exceptions.
//
// We might want an exception for type mismatches.
//
// <nl>
//
// Copyright
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?