#include <qgarlib/QgarErrorInvalidArg.H>
Inheritance diagram for qgar::QgarErrorInvalidArg:

Such an exception is raised when a function is called with an invalid argument.
Definition at line 71 of file QgarErrorInvalidArg.H.
Display | |
| virtual void | displayHeader (const char *anErrorKind) const |
| Display the error message header (first line of the message), including an explicit description (in capital letters) of the error type. | |
| static void | errorMsgOn () |
| Enable the display of error messages when exceptions are raised. | |
| static void | errorMsgOff () |
| Disable the display of error messages when exceptions are raised. | |
Public Member Functions | |
Constructors | |
| QgarErrorInvalidArg (const char *aFuncProfile) | |
| Construct from the profile of the function throwing the exception, without displaying any error message. | |
| QgarErrorInvalidArg (const char *aFileName, int aLineNumber, const char *aFuncProfile, const std::string aDiagnostic) | |
| Construct and display an error message. | |
Destructor | |
| virtual | ~QgarErrorInvalidArg () throw () |
| Virtual destructor. | |
Static Protected Attributes | |
Messages | |
| static bool | _msgFlag = true |
| Display flag for error messages. | |
Messages | |
| static bool | _msgFlag = true |
| Display flag for error messages. | |
|
|
Construct from the profile of the function throwing the exception, without displaying any error message.
Definition at line 60 of file QgarErrorInvalidArg.C. |
|
||||||||||||||||||||
|
Construct and display an error message.
Definition at line 71 of file QgarErrorInvalidArg.C. |
|
|
Virtual destructor.
Definition at line 91 of file QgarErrorInvalidArg.C. |
|
|
Display the error message header (first line of the message), including an explicit description (in capital letters) of the error type.
Definition at line 129 of file AbstractQgarError.C. Referenced by qgar::AbstractQgarError::AbstractQgarError(). |
|
|
Disable the display of error messages when exceptions are raised.
Definition at line 123 of file AbstractQgarError.C. References qgar::AbstractQgarError::_msgFlag. |
|
|
Enable the display of error messages when exceptions are raised.
Definition at line 117 of file AbstractQgarError.C. References qgar::AbstractQgarError::_msgFlag. |
|
|
Display flag for error messages. When true (which is the default), an error message is displayed when a Qgar exception is raised. Definition at line 57 of file AbstractQgarError.C. Referenced by qgar::AbstractQgarError::AbstractQgarError(), qgar::AbstractQgarError::errorMsgOff(), and qgar::AbstractQgarError::errorMsgOn(). |