MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
.
More...
#include "mdsFullException.h"
Classes | |
class | mds::base::CError |
Class encapsulating an error origin and description. More... | |
Namespaces | |
namespace | mds |
Medical Data Segmentation Toolkit (MDSTk) | |
namespace | mds::base |
Defines | |
#define | MDS_CATCH_ERROR(ModuleName) |
Catch block for handling the CError exception. | |
#define | MDS_ERROR(Name) mds::base::CError(Name, __FILE__, __LINE__) |
Macro that creates an error object with 'Name' as an description. | |
#define | MDS_THROW_ERROR(Name) throw mds::base::CError(Name, __FILE__, __LINE__) |
Creates and throws an error with 'Name' as an description. |
Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
.
Author: Michal Spanel, spanel@fit.vutbr.cz
Date: 2003/10/27
Description:
#define MDS_CATCH_ERROR | ( | ModuleName | ) |
catch( const mds::base::CError& Error ) \ { \ MDS_LOG(Error); \ MDS_CERR('<' << ModuleName << "> Error: see log for details, termintating ..." << std::endl); \ abort(); \ }
Catch block for handling the CError exception.
#define MDS_ERROR | ( | Name | ) | mds::base::CError(Name, __FILE__, __LINE__) |
Macro that creates an error object with 'Name' as an description.
#define MDS_THROW_ERROR | ( | Name | ) | throw mds::base::CError(Name, __FILE__, __LINE__) |
Creates and throws an error with 'Name' as an description.