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)
 
 P4CExceptionBase (std::string formattedMessage)
 Use already-formatted text without invoking the diagnostic formatter.
 
const char * what () const noexcept override
 

Protected Member Functions

void traceCreation ()
 

Protected Attributes

std::string message
 

Detailed Description

Base class for all exceptions. Supports boost-style (N%) and printf/abslStrFormat-style (s, d, etc.) placeholders.