FreeRDP-WebConnect WebSockets gateway  1.0.0.167
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
tracing::logic_error Class Reference

Logic errors represent problems in the internal logic of a program; in theory, these are preventable, and even detectable before the program runs (e.g., violations of class invariants). More...

#include <btexception.hpp>

+ Inheritance diagram for tracing::logic_error:
+ Collaboration diagram for tracing::logic_error:

List of all members.

Public Member Functions

 logic_error (const std::string &__arg)
 Constructor.
virtual ~logic_error () throw ()
 Destructor.
virtual const char * what () const throw ()
 Retrieves the message, provided at construction time.
- Public Member Functions inherited from tracing::exception
 exception () throw ()
 Constructs a new backtrace_exception.
virtual const char * where () const throw ()
 Returns a backtrace.

Detailed Description

Logic errors represent problems in the internal logic of a program; in theory, these are preventable, and even detectable before the program runs (e.g., violations of class invariants).

One of two subclasses of exception.

Definition at line 210 of file btexception.hpp.


Constructor & Destructor Documentation

tracing::logic_error::logic_error ( const std::string &  __arg)
inlineexplicit

Constructor.

Parameters:
__argThe message to be held by this instance.

Definition at line 218 of file btexception.hpp.


Member Function Documentation

virtual const char* tracing::logic_error::what ( ) const throw ()
inlinevirtual

Retrieves the message, provided at construction time.

Returns:
The textual message, provided at construction time.

Definition at line 225 of file btexception.hpp.


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