|
Squid Web Cache master
|
an std::runtime_error with thrower location info More...
#include <TextException.h>
Public Member Functions | |
| TextException (const char *message, const SourceLocation &location) | |
| TextException (SBuf message, const SourceLocation &location) | |
| TextException (const TextException &)=default | |
| TextException (TextException &&)=default | |
| TextException & | operator= (const TextException &)=default |
| ~TextException () override throw () | |
| const char * | what () const override throw () |
| SourceLocationId | id () const |
| same-location exceptions have the same ID | |
| std::ostream & | print (std::ostream &) const |
| dumps the exception text into the stream | |
Public Attributes | |
| SourceLocation | where |
| code location related to the exception; usually the thrower location | |
Definition at line 20 of file TextException.h.
|
inline |
Definition at line 24 of file TextException.h.
| TextException::TextException | ( | SBuf | message, |
| const SourceLocation & | location | ||
| ) |
Definition at line 26 of file TextException.cc.
|
default |
|
default |
|
override | |||||||||||||
Definition at line 30 of file TextException.cc.
References WhatStrings_.
|
inline |
Definition at line 40 of file TextException.h.
References SourceLocation::id(), and where.
Referenced by Adaptation::Icap::ModXact::callException(), and ConnStateData::parseTlsHandshake().
|
default |
| std::ostream & TextException::print | ( | std::ostream & | os | ) | const |
Definition at line 37 of file TextException.cc.
References Debug::Extra(), and where.
Referenced by operator<<(), and what().
|
override | |||||||||||||
Definition at line 46 of file TextException.cc.
References print(), and WhatStrings_.
Referenced by CurrentException_(), and IpcIoFile::push().
| SourceLocation TextException::where |
Definition at line 46 of file TextException.h.