Audacity 3.2.0
Classes | Macros
InconsistencyException.h File Reference

MessageBoxException for violation of preconditions or assertions. More...

#include "AudacityException.h"
Include dependency graph for InconsistencyException.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  InconsistencyException
 Exception that should be impossible in production, thrown only from provably unreachable places. More...
 

Macros

#define CONSTRUCT_INCONSISTENCY_EXCEPTION    InconsistencyException( "", __FILE__ , __LINE__ )
 Construct InconsistencyException, using C++ preprocessor to identify the source code location. More...
 
#define THROW_INCONSISTENCY_EXCEPTION   throw CONSTRUCT_INCONSISTENCY_EXCEPTION
 Throw InconsistencyException, using C++ preprocessor to identify the source code location. More...
 

Detailed Description

MessageBoxException for violation of preconditions or assertions.

Created by Paul Licameli on 11/27/16.

Definition in file InconsistencyException.h.

Macro Definition Documentation

◆ CONSTRUCT_INCONSISTENCY_EXCEPTION

#define CONSTRUCT_INCONSISTENCY_EXCEPTION    InconsistencyException( "", __FILE__ , __LINE__ )

Construct InconsistencyException, using C++ preprocessor to identify the source code location.

For cases where the exception object is not immediately thrown

Definition at line 71 of file InconsistencyException.h.

◆ THROW_INCONSISTENCY_EXCEPTION

#define THROW_INCONSISTENCY_EXCEPTION   throw CONSTRUCT_INCONSISTENCY_EXCEPTION

Throw InconsistencyException, using C++ preprocessor to identify the source code location.

Definition at line 79 of file InconsistencyException.h.