MCPcopy Create free account
hub / github.com/apache/trafficserver / Exception

Class Exception

include/ts/TsException.h:40–53  ·  view source on GitHub ↗

Base class for ATS exception. Clients should subclass as appropriate. This is intended to carry pre-allocated text along so that it can be thrown without any additional memory allocation. */

Source from the content-addressed store, hash-verified

38 additional memory allocation.
39*/
40class Exception
41{
42public:
43 /// Default constructor.
44 Exception();
45 /// Construct with alternate @a text.
46 Exception(const char *text ///< Alternate text for exception.
47 );
48
49 static const char *const DEFAULT_TEXT;
50
51protected:
52 const char *m_text;
53};
54
55// ----------------------------------------------------------
56// Inline implementations.

Callers 3

add_objectFunction · 0.50
handle_file_inputFunction · 0.50
replay_proxy_responseFunction · 0.50

Calls

no outgoing calls

Tested by 1

replay_proxy_responseFunction · 0.40