23 #ifndef SLIEXCEPTIONS_H
24 #define SLIEXCEPTIONS_H
34 #define UNKNOWN "unknown"
35 #define UNKNOWN_NUM -1
83 virtual const char *
what()
const throw()
92 virtual std::string
message() = 0;
163 TypeMismatch(
const std::string& expectedType,
const std::string& providedType)
344 :
DictError(
"UnaccessedDictionaryEntry"),
Exception to be thrown if a parameter value is not acceptable.
Definition: sliexceptions.h:220
std::string provided_
Definition: sliexceptions.h:286
Exception to be thrown if a given SLI array has the wrong size.
Definition: sliexceptions.h:189
NamingConflict(const std::string &m)
Definition: sliexceptions.h:389
Base class for all SLI interpreter exceptions.
Definition: sliexceptions.h:100
const Name g("g")
Conductance.
Definition: nest_names.h:144
virtual const char * what() const
Returns the SLI error name, used by raiseerror.
Definition: sliexceptions.h:83
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:95
TypeMismatch(const std::string &expectedType, const std::string &providedType)
Definition: sliexceptions.h:163
Class for packaging exceptions thrown in threads.
Definition: sliexceptions.h:117
TypeMismatch()
Definition: sliexceptions.h:154
~SystemSignal()
Definition: sliexceptions.h:176
std::string msg_
Definition: sliexceptions.h:339
DynamicModuleManagementError(std::string msg)
Definition: sliexceptions.h:370
NotImplemented(const std::string &m)
Definition: sliexceptions.h:406
std::string msg_
Definition: sliexceptions.h:361
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:53
Exception to be thrown if a given SLI type does not match the expected type.
Definition: sliexceptions.h:147
virtual std::string message()=0
Returns a diagnostic message or empty string.
Exception to be thrown if an error occured while accessing the stack.
Definition: sliexceptions.h:303
ArgumentType(int w)
Definition: sliexceptions.h:208
~RangeCheck()
Definition: sliexceptions.h:193
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.h:122
SLIException(char const *const what)
Definition: sliexceptions.h:60
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:70
StackUnderflow(int n, int g)
Definition: sliexceptions.h:308
Exception to be thrown if unaccessed dictionary items are found.
Definition: sliexceptions.h:337
Throw if an feature is unavailable.
Definition: sliexceptions.h:401
~IOError()
Definition: sliexceptions.h:326
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:133
~EntryTypeMismatch()
Definition: sliexceptions.h:288
Exception to be thrown if an error occurs while loading/unloading dynamic modules.
Definition: sliexceptions.h:359
Exception to be thrown if an error occured in an I/O operation.
Definition: sliexceptions.h:323
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:167
Throw if an existing name is attempted to be redefined.
Definition: sliexceptions.h:384
~TypeMismatch()
Definition: sliexceptions.h:152
WrappedThreadException(std::exception &)
Definition: sliexceptions.cc:28
virtual ~WrappedThreadException()
Definition: sliexceptions.h:121
UndefinedName(const std::string &name)
Definition: sliexceptions.h:268
std::string name_
Definition: sliexceptions.h:265
const Name w("w")
Specific to Brette & Gerstner 2005 (aeif_cond-*)
Definition: nest_names.h:343
SystemSignal(int s)
Definition: sliexceptions.h:177
Exception to be thrown if an entry referenced inside a dictionary has the wrong type.
Definition: sliexceptions.h:283
Definition: sliexceptions.h:128
BadParameterValue()
Definition: sliexceptions.h:227
std::string message_
Definition: sliexceptions.h:125
virtual ~DivisionByZero()
Definition: sliexceptions.h:131
~UnaccessedDictionaryEntry()
Definition: sliexceptions.h:341
virtual ~DictError()
Definition: sliexceptions.h:250
~NamingConflict()
Definition: sliexceptions.h:388
std::string msg_
Definition: sliexceptions.h:403
RangeCheck(int s=0)
Definition: sliexceptions.h:195
Definition: interpret.h:69
int size_
Definition: sliexceptions.h:191
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:150
std::string provided_
Definition: sliexceptions.h:150
UnaccessedDictionaryEntry(const std::string &m)
Definition: sliexceptions.h:343
virtual ~InterpreterError()
Definition: sliexceptions.h:103
IOError()
Definition: sliexceptions.h:327
Definition: sliexceptions.h:172
~UndefinedName()
Definition: sliexceptions.h:267
DynamicModuleManagementError()
Definition: sliexceptions.h:365
Base class for all SLI exceptions.
Definition: sliexceptions.h:56
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:162
Base Class for all SLI errors related to dictionary processing.
Definition: sliexceptions.h:247
const Name n("n")
Number of synaptic release sites (int >=0) (Tsodyks2_connection)
Definition: nest_names.h:202
std::string msg_
Definition: sliexceptions.h:386
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:106
BadParameterValue(std::string msg)
Definition: sliexceptions.h:232
DictError(char const *const)
Definition: sliexceptions.h:252
TypeMismatch(const std::string &expectedType)
Definition: sliexceptions.h:158
virtual ~SLIException()
Definition: sliexceptions.h:64
std::string msg_
Definition: sliexceptions.h:222
Exception to be thrown if an entry referenced inside a dictionary does not exist. ...
Definition: sliexceptions.h:263
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:112
int needed
Definition: sliexceptions.h:305
Definition: sliexceptions.h:204
~DynamicModuleManagementError()
Definition: sliexceptions.h:363
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:38
int given
Definition: sliexceptions.h:306
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:101
std::string what_
Definition: sliexceptions.h:58
~NotImplemented()
Definition: sliexceptions.h:405
InterpreterError(char const *const what)
Definition: sliexceptions.h:105
std::string expected_
Definition: sliexceptions.h:149
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:138
DivisionByZero()
Definition: sliexceptions.h:133
int where
Definition: sliexceptions.h:206
~BadParameterValue()
Definition: sliexceptions.h:237
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:43
std::string expected_
Definition: sliexceptions.h:285
std::string message()
Returns a diagnostic message or empty string.
Definition: sliexceptions.cc:145
int signal_
Definition: sliexceptions.h:174
EntryTypeMismatch(const std::string &expectedType, const std::string &providedType)
Definition: sliexceptions.h:289