ErrorPage::BuildErrorPrinter Class Reference

pretty-prints error page/deny_info building error More...

Collaboration diagram for ErrorPage::BuildErrorPrinter:

Public Member Functions

 BuildErrorPrinter (const SBuf &anInputLocation, int aPage, const char *aMsg, const char *aNear)
 
std::ostream & print (std::ostream &) const
 reports error details (for admin-visible exceptions and debugging) More...
 
std::ostream & printLocation (std::ostream &os) const
 print() helper to report where the error was found More...
 

Public Attributes

const SBufinputLocation
 
const int page_id
 
const char * msg
 
const char * near
 

Detailed Description

Definition at line 112 of file errorpage.cc.

Constructor & Destructor Documentation

◆ BuildErrorPrinter()

ErrorPage::BuildErrorPrinter::BuildErrorPrinter ( const SBuf anInputLocation,
int  aPage,
const char *  aMsg,
const char *  aNear 
)
inline

Definition at line 115 of file errorpage.cc.

Member Function Documentation

◆ print()

std::ostream & ErrorPage::BuildErrorPrinter::print ( std::ostream &  os) const

Definition at line 1493 of file errorpage.cc.

References CurrentException().

Referenced by ErrorPage::operator<<().

◆ printLocation()

std::ostream & ErrorPage::BuildErrorPrinter::printLocation ( std::ostream &  os) const

Member Data Documentation

◆ inputLocation

const SBuf& ErrorPage::BuildErrorPrinter::inputLocation

Definition at line 124 of file errorpage.cc.

◆ msg

const char* ErrorPage::BuildErrorPrinter::msg

Definition at line 126 of file errorpage.cc.

◆ near

const char* ErrorPage::BuildErrorPrinter::near

Definition at line 127 of file errorpage.cc.

◆ page_id

const int ErrorPage::BuildErrorPrinter::page_id

Definition at line 125 of file errorpage.cc.


The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors