LINEAR++ library: AFF to LAPACK
error.h File Reference

Exception class for this library (prototypes) More...

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

Go to the source code of this file.

Classes

class  linear::Exception
 Base class for exceptions. More...
 
class  linear::LapackException
 Exception thrown in case of LAPACK return value error. More...
 

Namespaces

 linear
 Modules of liblinearxx.a.
 

Macros

#define LINEAR_ERROR_H_VERSION   "LINEAR_ERROR_H V1.2"
 
#define LINEAR_Xassert(C, M, E)   if (!(C)) { throw( E ( M , __FILE__, __LINE__, #C )); }
 Check an assertion and report by throwing an exception. More...
 
#define LINEAR_LAPACK_failure(C, N, M, V)
 Check an assertion for a LAPACK return value and report by throwing an exception. More...
 
#define LINEAR_assert(C, M)   LINEAR_Xassert( C , M , linear::Exception )
 Check an assertion and report by throwing an exception. More...
 
#define LINEAR_abort(M)   throw( linear::Exception ( M , __FILE__, __LINE__ ))
 Abort and give a message. More...
 
#define LINEAR_debug(C, N, M)
 produce debug outputCode which uses this macro has to include <iostream> More...
 

Detailed Description

Exception class for this library (prototypes)


Author
Thomas Forbriger
Date
08/02/2004

Exception class for this library (prototypes)

Copyright (c) 2004 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, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

REVISIONS and CHANGES

  • 08/02/2004 V1.0 Thomas Forbriger
  • 20/11/2007 V1.1 provide virtual destructors
  • 18/03/2011 V1.2 avoid libtfxx header file misc.h by presenting a debug output macro here

Definition in file error.h.