TextException.cc File Reference
#include "squid.h"
#include "base/TextException.h"
#include "sbuf/SBuf.h"
#include <iostream>
#include <sstream>
#include <unordered_map>
Include dependency graph for TextException.cc:

Go to the source code of this file.

Typedefs

typedef std::runtime_error WhatString
 a standard CoW string; avoids noise and circular dependencies of SBuf More...
 
typedef
std::unordered_multimap< const
void *, WhatString
WhatStrings
 a collection of strings indexed by pointers to their creator objects More...
 

Functions

std::ostream & CurrentException (std::ostream &os)
 prints active (i.e., thrown but not yet handled) exception More...
 

Variables

static WhatStringsWhatStrings_ = nullptr
 requested what() strings of alive TextException objects More...
 

Typedef Documentation

typedef std::runtime_error WhatString

Definition at line 18 of file TextException.cc.

typedef std::unordered_multimap<const void*, WhatString> WhatStrings

Definition at line 21 of file TextException.cc.

Function Documentation

std::ostream& CurrentException ( std::ostream &  os)

Definition at line 62 of file TextException.cc.

Referenced by OnTerminate(), and SquidMainSafe().

Variable Documentation

WhatStrings* WhatStrings_ = nullptr
static

Definition at line 24 of file TextException.cc.

Referenced by TextException::what(), and TextException::~TextException().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors