CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
Loading...
Searching...
No Matches
CppAD::cg::CGException Class Reference

#include <exception.hpp>

Inheritance diagram for CppAD::cg::CGException:
Inheritance graph
Collaboration diagram for CppAD::cg::CGException:
Collaboration graph

Public Member Functions

 CGException (std::string message) noexcept
 
 CGException (const CGException &e)=default
 
 CGException (CGException &&e)=default
 
template<typename... Ts>
 CGException (const Ts &... ts) noexcept
 
const char * what () const noexcept override
 

Protected Attributes

std::string _message
 

Detailed Description

The exception used by CppADCodeGen

Author
Joao Leal

Definition at line 27 of file exception.hpp.

Constructor & Destructor Documentation

◆ CGException() [1/2]

CppAD::cg::CGException::CGException ( std::string  message)
inlineexplicitnoexcept

Definition at line 33 of file exception.hpp.

◆ CGException() [2/2]

template<typename... Ts>
CppAD::cg::CGException::CGException ( const Ts &...  ts)
inlineexplicitnoexcept

Definition at line 42 of file exception.hpp.

Member Function Documentation

◆ what()

const char * CppAD::cg::CGException::what ( ) const
inlineoverridenoexcept

Definition at line 50 of file exception.hpp.

Member Data Documentation

◆ _message

std::string CppAD::cg::CGException::_message
protected

Definition at line 29 of file exception.hpp.


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