OTest2
A C++ testing framework
Public Member Functions | List of all members
OTest2::TagExpressionException Class Reference

Invalid tag expression. More...

#include <runnerfiltertags.h>

Inheritance diagram for OTest2::TagExpressionException:
Inheritance graph
[legend]
Collaboration diagram for OTest2::TagExpressionException:
Collaboration graph
[legend]

Public Member Functions

 TagExpressionException (const std::string &message_)
 Ctor. More...
 
 TagExpressionException (int location_, char c_)
 Ctor - invalid character in the expression. More...
 
 TagExpressionException (int location_, const std::string &token_)
 Ctor - syntax error. More...
 
 TagExpressionException (TagExpressionException &&exc_) noexcept
 Move ctor. More...
 
virtual ~TagExpressionException ()
 Dtor. More...
 
 TagExpressionException (const TagExpressionException &)=delete
 
TagExpressionExceptionoperator= (const TagExpressionException &)=delete
 
virtual std::string reason () const override
 Get exception reason. More...
 
- Public Member Functions inherited from OTest2::Exception
 Exception (const Exception &)=delete
 
Exceptionoperator= (const Exception &)=delete
 
virtual const char * what () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from OTest2::Exception
 Exception ()
 Ctor. More...
 
 Exception (Exception &&exc_) noexcept
 Move ctor. More...
 
virtual ~Exception ()
 Dtor. More...
 

Detailed Description

Invalid tag expression.

Definition at line 35 of file runnerfiltertags.h.

Constructor & Destructor Documentation

◆ TagExpressionException() [1/5]

OTest2::TagExpressionException::TagExpressionException ( const std::string &  message_)
explicit

Ctor.

Parameters
message_An error message

Definition at line 36 of file runnerfiltertags.cpp.

◆ TagExpressionException() [2/5]

OTest2::TagExpressionException::TagExpressionException ( int  location_,
char  c_ 
)
explicit

Ctor - invalid character in the expression.

Parameters
location_Location of the error
c_The character

Definition at line 50 of file runnerfiltertags.cpp.

◆ TagExpressionException() [3/5]

OTest2::TagExpressionException::TagExpressionException ( int  location_,
const std::string &  token_ 
)
explicit

Ctor - syntax error.

Parameters
location_Location of the error
token_Invalid token

Definition at line 42 of file runnerfiltertags.cpp.

◆ TagExpressionException() [4/5]

OTest2::TagExpressionException::TagExpressionException ( TagExpressionException &&  exc_)
noexcept

Move ctor.

Definition at line 58 of file runnerfiltertags.cpp.

◆ ~TagExpressionException()

OTest2::TagExpressionException::~TagExpressionException ( )
virtualdefault

Dtor.

◆ TagExpressionException() [5/5]

OTest2::TagExpressionException::TagExpressionException ( const TagExpressionException )
delete

Member Function Documentation

◆ operator=()

TagExpressionException& OTest2::TagExpressionException::operator= ( const TagExpressionException )
delete

◆ reason()

std::string OTest2::TagExpressionException::reason ( ) const
overridevirtual

Get exception reason.

Returns

Implements OTest2::Exception.

Definition at line 67 of file runnerfiltertags.cpp.


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