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

#include <exceptions.h>

Inheritance diagram for P4::Util::P4CExceptionBase:
[legend]

Public Member Functions

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

Protected Member Functions

void traceCreation ()
 

Protected Attributes

std::string 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)