DataTransferKit - Multiphysics Solution Transfer Services  2.0
Public Member Functions | List of all members
DataTransferKit::DataTransferKitException Class Reference

Base class for DTK assertions. This structure is heavily based on that in Nemesis developed by Tom Evans. We derive from std::logic_error here as the DBC checks that utilize this class are meant to find errors that can be prevented before runtime. More...

#include <DTK_DBC.hpp>

Inherits logic_error.

Public Member Functions

 DataTransferKitException (const std::string &msg)
 Default constructor. More...
 
 DataTransferKitException (const std::string &cond, const std::string &file, const int line)
 DBC constructor. More...
 
virtual ~DataTransferKitException () throw ()
 Destructor. More...
 

Detailed Description

Base class for DTK assertions. This structure is heavily based on that in Nemesis developed by Tom Evans. We derive from std::logic_error here as the DBC checks that utilize this class are meant to find errors that can be prevented before runtime.

Definition at line 59 of file DTK_DBC.hpp.

Constructor & Destructor Documentation

DataTransferKit::DataTransferKitException::DataTransferKitException ( const std::string &  msg)
inline

Default constructor.

Parameters
msgError message.

Definition at line 67 of file DTK_DBC.hpp.

DataTransferKit::DataTransferKitException::DataTransferKitException ( const std::string &  cond,
const std::string &  file,
const int  line 
)
inline

DBC constructor.

Parameters
condA string containing the assertion condition that failed.
fieldA string containing the file name in which the assertion failed.
lineThe line number at which the assertion failed.

Definition at line 82 of file DTK_DBC.hpp.

virtual DataTransferKit::DataTransferKitException::~DataTransferKitException ( )
throw (
)
inlinevirtual

Destructor.

Definition at line 89 of file DTK_DBC.hpp.


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