Vowpal Wabbit
Public Member Functions | List of all members
VW::strict_parse_exception Class Reference

#include <vw_exception.h>

Inheritance diagram for VW::strict_parse_exception:
VW::vw_exception

Public Member Functions

 strict_parse_exception (const char *file, int lineNumber, const std::string &message)
 
 strict_parse_exception (const strict_parse_exception &ex)
 
strict_parse_exceptionoperator= (const strict_parse_exception &other)
 
 ~strict_parse_exception () noexcept override=default
 
- Public Member Functions inherited from VW::vw_exception
 vw_exception (const char *file, int lineNumber, std::string const &message) noexcept
 
 vw_exception (const vw_exception &ex) noexcept
 
vw_exceptionoperator= (const vw_exception &other) noexcept
 
 ~vw_exception () noexcept override
 
const char * what () const noexcept override
 
const char * Filename () const
 
int LineNumber () const
 

Detailed Description

Definition at line 111 of file vw_exception.h.

Constructor & Destructor Documentation

◆ strict_parse_exception() [1/2]

VW::strict_parse_exception::strict_parse_exception ( const char *  file,
int  lineNumber,
const std::string &  message 
)
inline

Definition at line 114 of file vw_exception.h.

116  {
117  }
std::string message
Definition: vw_exception.h:28
const char * file
Definition: vw_exception.h:26
vw_exception(const char *file, int lineNumber, std::string const &message) noexcept
Definition: vw_exception.cc:10

◆ strict_parse_exception() [2/2]

VW::strict_parse_exception::strict_parse_exception ( const strict_parse_exception ex)
inline

Definition at line 119 of file vw_exception.h.

119 : vw_exception(ex) {}
vw_exception(const char *file, int lineNumber, std::string const &message) noexcept
Definition: vw_exception.cc:10

◆ ~strict_parse_exception()

VW::strict_parse_exception::~strict_parse_exception ( )
overridedefaultnoexcept

Member Function Documentation

◆ operator=()

strict_parse_exception& VW::strict_parse_exception::operator= ( const strict_parse_exception other)
inline

Definition at line 121 of file vw_exception.h.

References VW::vw_exception::operator=().

122  {
123  // check for self-assignment
124  if (&other == this)
125  return *this;
127  return *this;
128  }
vw_exception & operator=(const vw_exception &other) noexcept
Definition: vw_exception.cc:20

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