P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
Util::P4CExceptionBase Class Reference
Inheritance diagram for Util::P4CExceptionBase:

Public Member Functions

template<typename... T>
 P4CExceptionBase (const char *format, T... args)
 
const char * what () const noexcept
 

Protected Member Functions

void traceCreation ()
 

Protected Attributes

cstring message
 

Detailed Description

Base class for all exceptions. The constructor uses boost::format for the format string, i.e., %1%, %2%, etc (starting at 1, not at 0)