#include "inttypes_AMOS.hh"
#include <string>
#include <exception>
#include <iostream>
Include dependency graph for exceptions_AMOS.hh:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | AMOS |
Classes | |
class | AMOS::Exception_t |
The base AMOS excpetion class. More... | |
class | AMOS::AlignmentException_t |
An exception for alignment failures. More... | |
class | AMOS::AllocException_t |
An exception for alloc failures, better than std::bad_alloc. More... | |
class | AMOS::ArgumentException_t |
An exception for invalid arguments. More... | |
class | AMOS::IOException_t |
An exception for IO errors. More... | |
Defines | |
#define | __exceptions_AMOS_HH 1 |
#define | AMOS_THROW(A) throw Exception_t(A,__LINE__,__FILE__) |
#define | AMOS_THROW_ALLOC(A) throw AllocException_t(A,__LINE__,__FILE__) |
#define | AMOS_THROW_ARGUMENT(A) throw ArgumentException_t(A,__LINE__,__FILE__) |
#define | AMOS_THROW_IO(A) throw IOException_t(A,__LINE__,__FILE__) |
Functions | |
std::ostream & | operator<< (std::ostream &out, const Exception_t &e) |
Dump Exception_t info to an ostream. | |
std::ostream & | operator<< (std::ostream &out, const std::exception &e) |
Dump exception info to an ostream. |
Definition in file exceptions_AMOS.hh.
|
Definition at line 11 of file exceptions_AMOS.hh. |
|
Definition at line 273 of file exceptions_AMOS.hh. Referenced by AMOS::IDMap_t::resize(). |
|
Definition at line 274 of file exceptions_AMOS.hh. Referenced by AMOS::SafeCalloc(), AMOS::SafeMalloc(), AMOS::SafeRealloc(), and AMOS::SafeStrdup(). |
|
|
|
Dump exception info to an ostream. Definition at line 263 of file exceptions_AMOS.hh. |
|
Dump Exception_t info to an ostream. Definition at line 251 of file exceptions_AMOS.hh. |