An Implementation of the Marching Cubes Algorithm
1.0
|
This file contains the definition of a class for handling exceptions. More...
#include <iostream>
#include <string>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | common::ExceptionObject |
This class extends the class exception of STL, providing a customized way of dealing with exceptions. More... | |
Namespaces | |
namespace | common |
The namespace common contains the definition of macros and several utility classes, such as a class for representing 3D vectors and a class for dealing with exceptions in a customized way. | |
Defines | |
#define | treat_exception(e) |
A macro to write information about an exception. |
This file contains the definition of a class for handling exceptions.
Definition in file exceptionobject.hpp.
treat_exception | ( | e | ) |
std::cout << "Exception: " << e.get_description() << std::endl \ << "File: " << e.get_file() << std::endl \ << "Line: " << e.get_line() << std::endl
A macro to write information about an exception.
e | An exception. |
Definition at line 40 of file exceptionobject.hpp.
Referenced by mc::SurfBuilder::run().