proxygen
MyException Class Reference
Inheritance diagram for MyException:

Public Member Functions

 MyException (char const *const what)
 
 MyException (char const *const what, std::size_t const strip)
 
char const * what () const noexceptoverride
 

Private Attributes

char const * what_
 

Detailed Description

Definition at line 26 of file ExceptionCounterTest.cpp.

Constructor & Destructor Documentation

MyException::MyException ( char const *const  what)
inlineexplicit

Definition at line 65 of file ExceptionTest.cpp.

Referenced by foo().

65 : MyException(what, 0) {}
MyException(char const *const what)
char const * what() const noexceptoverride
MyException::MyException ( char const *const  what,
std::size_t const  strip 
)
inline

Definition at line 66 of file ExceptionTest.cpp.

67  : what_(what + strip) {}
char const * what_
std::uint64_t strip(std::chrono::nanoseconds t)
char const * what() const noexceptoverride

Member Function Documentation

char const* MyException::what ( ) const
inlineoverridenoexcept

Definition at line 69 of file ExceptionTest.cpp.

References what_.

Referenced by TEST_F().

69  {
70  return what_;
71  }
char const * what_

Member Data Documentation

char const* MyException::what_
private

Definition at line 62 of file ExceptionTest.cpp.

Referenced by what().


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