TS++ library: time series library
error.h File Reference

error handling for libtsxx (prototypes) More...

This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

error handling for libtsxx (prototypes)


Author
Thomas Forbriger
Date
22/11/2016

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

along with this program. If not, see http://www.gnu.org/licenses/.

REVISIONS and CHANGES

  • 22/11/2016 V1.0 Thomas Forbriger

Definition in file error.h.