Compartir a través de


CInvalidArgException Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CInvalidArgException Class.

This class represents an invalid argument exception condition.

Syntax

class CInvalidArgException : public CSimpleException  

Members

Public Constructors

Name Description
CInvalidArgException::CInvalidArgException The constructor.

Remarks

A CInvalidArgException object represents an invalid argument exception condition.

For more information on Exception Handling, see the CException Class topic and Exception Handling (MFC).

Inheritance Hierarchy

CObject

CException

CSimpleException

CInvalidArgException

Requirements

Header: afx.h

CInvalidArgException::CInvalidArgException

The constructor.

CInvalidArgException();

Remarks

Do not use this constructor directly; call the global function AfxThrowInvalidArgException.

See Also

Hierarchy Chart
CSimpleException Class