15 #ifndef TSA_ERROR__INCLUDED 16 #define TSA_ERROR__INCLUDED 21 #include "TSATypeDef.h" 22 #include "TSASupport.h" 37 class dll_export
exception :
public std::exception {
39 struct source_location {
42 source_location(
const char* file,
int line);
43 source_location(
void);
51 source_location m_src_loc;
53 void print_to_IDE_output(
const char*);
69 exception(
const char* message,
const source_location& src_loc);
73 exception(
const char* origin,
const char* message,
const source_location& src_loc);
77 const source_location& sourceLocation);
85 virtual const char* what()
const throw();
87 void construct_message(
void);
92 #define SLOC tsa::exception::source_location(__FILE__, __LINE__) 130 class dll_export win_structured_exception :
public exception {
135 win_structured_exception(
unsigned n);
137 win_structured_exception();
139 virtual ~win_structured_exception() { ; }
141 unsigned GetSENumber();
Namespace for the 'Trading System API' library.
Definition: original1.TSA3Core.cpp:20
Class tsa::exception used by most classes of the Trading System API library. The class inherits from ...
Definition: TSAError.h:37
Exception class thrown by series when insufficient data.
Definition: TSAError.h:103
int64_t identifier_t
type for ID's
Definition: TSATypeDef.h:117