Carna  Version 3.0.1
Public Member Functions | List of all members
Carna::base::AssertionFailure Class Reference

Carna exception that indicates a failed assertion. More...

#include <CarnaException.h>

+ Inheritance diagram for Carna::base::AssertionFailure:
+ Collaboration diagram for Carna::base::AssertionFailure:

Public Member Functions

 AssertionFailure (const std::string &details)
 Instantiates. More...
 
- Public Member Functions inherited from Carna::base::CarnaException
 CarnaException (const std::string &type, const std::string &message, const std::string &details="")
 Initializes the attributes plainly from the arguments.
 
 CarnaException (const std::logic_error &error, const std::string &details="")
 Initializes the type as ''Assertion Error'' and the message from the given exception.
 
 CarnaException (const std::runtime_error &error, const std::string &details="")
 Initializes the type as ''Unhandled Exception'' and the message from the given exception.
 

Additional Inherited Members

- Public Attributes inherited from Carna::base::CarnaException
const std::string type
 Tells the type (category) of this exception.
 
const std::string message
 Tells the message of this exception.
 
const std::string details
 Tells the details of this exception. May be empty.
 

Detailed Description

Carna exception that indicates a failed assertion.

Author
Leonid Kostrykin
Date
5.3.13 - 19.3.13

Definition at line 92 of file CarnaException.h.

Constructor & Destructor Documentation

Carna::base::AssertionFailure::AssertionFailure ( const std::string &  details)
explicit

Instantiates.

Parameters
detailsdescribes the failed assertion.

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