AFF --- A container for numbers (array) by Friederich and Forbriger.
|
exceptions and error handling macros (prototypes) More...
#include <aff/lib/types.h>
Go to the source code of this file.
Classes | |
class | aff::Exception |
Base class for exceptions. More... | |
class | aff::AllocException |
Exception thrown in case of allocation error. More... | |
Namespaces | |
aff | |
Root namespace of library. | |
Macros | |
#define | AFF_ERROR_H_VERSION "AFF_ERROR_H V1.2" |
#define | AFF_Xassert(C, M, E) if (!(C)) { throw( E ( M , __FILE__, __LINE__, #C )); } |
Check an assertion and report by throwing an exception. More... | |
#define | AFF_assert(C, M) AFF_Xassert( C , M , aff::Exception ) |
Check an assertion and report by throwing an exception. More... | |
#define | AFF_abort(M) throw( aff::Exception ( M , __FILE__, __LINE__ )) |
Abort and give a message. More... | |
exceptions and error handling macros (prototypes)
exceptions and error handling macros (prototypes)
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
Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
REVISIONS and CHANGES
Definition in file error.h.