Assure.cc File Reference
#include "squid.h"
#include "base/Assure.h"
#include "base/TextException.h"
#include "debug/Stream.h"
Include dependency graph for Assure.cc:
Go to the source code of this file.
Functions | |
void | ReportAndThrow_ (const int debugLevel, const char *description, const SourceLocation &location) |
Function Documentation
◆ ReportAndThrow_()
void ReportAndThrow_ | ( | int | debugLevel, |
const char * | description, | ||
const SourceLocation & | |||
) |
Reports the description (at the given debugging level) and throws the corresponding exception. Reduces compiled code size of Assure() and Must() callers. Do not call directly; use Assure() instead.
- Parameters
-
description explains the condition (i.e. what MUST happen)
Definition at line 15 of file Assure.cc.
References DBG_IMPORTANT, and debugs.
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products