#include "jic/log/trazas.hpp"#include <string>#include <strstream>#include <stdexcept>Include dependency graph for excepcion.hpp:

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

Go to the source code of this file.
Defines | |
| #define | EXCEPCION(NombreExcepcion) |
| #define | EXCEPCION_DE(ExcBase, NombreExcepcion) |
| #define | THROW(Excepcion, Descripcion) |
|
|
Value: class NombreExcepcion : public std::runtime_error \ { \ public: \ NombreExcepcion(const std::string & descripcion = "") \ : std::runtime_error(std::string(# NombreExcepcion) + ( descripcion.empty() ? "" : " : ") + descripcion) \ {} \ } |
|
|
Value: class NombreExcepcion : public ExcBase \ { \ public: \ NombreExcepcion(const std::string & descripcion = "") \ : ExcBase(std::string(#NombreExcepcion) + ( descripcion.empty() ? "" : " : ") + descripcion) \ {} \ } |
|
|
Value: { \
std::strstream * info = new std::strstream; \
(*info) << Descripcion << " ( " << __FILE__ << ", " << __LINE__ << " )" << std::ends; \
char *cadena = info->str(); \
Excepcion exc(cadena); \
delete cadena; \
delete info; \
SUCESO(exc.what()); \
throw(exc); \
}
|
1.3-rc3