20#ifndef __SOT_PATTERN_GENERATOR_EXCEPTION_H
21#define __SOT_PATTERN_GENERATOR_EXCEPTION_H
27#include <sot/core/exception-abstract.hh>
34#if defined(exception_pg_EXPORTS)
35#define EXCEPTION_PG_EXPORT __declspec(dllexport)
37#define EXCEPTION_PG_EXPORT __declspec(dllimport)
40#define EXCEPTION_PG_EXPORT
55 GENERIC = ExceptionAbstract::PATTERN_GENERATOR,
66 return EXCEPTION_NAME;
72 const std::string &msg =
"");
75 const std::string &msg,
const char *format, ...);
Definition exception-pg.h:52
virtual const std::string & getExceptionName(void) const
Definition exception-pg.h:65
ErrorCodeEnum
Definition exception-pg.h:54
@ READ_FILE
Definition exception-pg.h:56
@ SELECTOR_RANK
Definition exception-pg.h:60
@ JOINT_RANK
Definition exception-pg.h:58
@ PATTERN_GENERATOR_JRL
Definition exception-pg.h:59
@ CANT_DESTROY_SIGNAL
Definition exception-pg.h:57
ExceptionPatternGenerator(const ExceptionPatternGenerator::ErrorCodeEnum &errcode, const std::string &msg, const char *format,...)
ExceptionPatternGenerator(const ExceptionPatternGenerator::ErrorCodeEnum &errcode, const std::string &msg="")
virtual ~ExceptionPatternGenerator(void)
Definition exception-pg.h:76
static const std::string EXCEPTION_NAME
Definition exception-pg.h:64
#define EXCEPTION_PG_EXPORT
Definition exception-pg.h:40
Definition exception-pg.h:47