rcolyer.net
RC Lib  Version 202403231100
Public Member Functions | List of all members
RC::ErrorMsgNull Class Reference

A subtype of RC::ErrorMsg for Null errors. More...

#include <Errors.h>

Inheritance diagram for RC::ErrorMsgNull:
RC::ErrorMsg

Public Member Functions

 ErrorMsgNull (const char *new_err_msg, const char *filename="", int line_number=0)
 The default constructor.
More...
 
- Public Member Functions inherited from RC::ErrorMsg
 ErrorMsg (const char *new_err_msg=NULL, const char *filename=NULL, int line_number=0) noexcept
 The default constructor. More...
 
virtual const char * GetError () const noexcept
 Provides the reason given for the error. More...
 
virtual const char * GetType () const noexcept
 Provides the type of the exception if this is a subclass. More...
 
virtual bool IsError (const char *test_err) const noexcept
 Return true if the the reason for the exception matches test_err. More...
 
virtual const char * what () const noexcept
 Returns a full descriptive error message with reason, source location, and stack trace. More...
 

Detailed Description

A subtype of RC::ErrorMsg for Null errors.

Constructor & Destructor Documentation

◆ ErrorMsgNull()

RC::ErrorMsgNull::ErrorMsgNull ( const char *  new_err_msg,
const char *  filename = "",
int  line_number = 0 
)
inline

The default constructor.

Use the convenience macro Throw_RC_Type( Null , "Reason");


The documentation for this class was generated from the following file:
email address
— (c) 2015