TS++ library: time series library
|
error handling for libtsxx (prototypes) More...
Go to the source code of this file.
Classes | |
class | ts::error::Exception |
Base class for exceptions. More... | |
Namespaces | |
ts | |
All stuff in this library will be placed within namespace ts. | |
ts::error | |
Macros | |
#define | TSXX_ERROR_H_VERSION "TSXX_ERROR_H V1.0" |
#define | TSXX_Xassert(C, M, E) if (!(C)) { throw( E ( M , __FILE__, __LINE__, #C )); } |
Check an assertion and report by throwing an exception. More... | |
#define | TSXX_assert(C, M) TSXX_Xassert( C , M , ts::error::Exception ) |
Check an assertion and report by throwing an exception. More... | |
#define | TSXX_abort(M) throw( ts::error::Exception ( M , __FILE__, __LINE__ )) |
Abort and give a message. More... | |
error handling for libtsxx (prototypes)
error handling for libtsxx (prototypes)
Copyright (c) 2016 by Thomas Forbriger (BFO Schiltach)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
REVISIONS and CHANGES
Definition in file error.h.