My Project
Toggle main menu visibility
Loading...
Searching...
No Matches
Singular
dyn_modules
gfanlib
gfanlib_exceptions.h
Go to the documentation of this file.
1
#ifndef GFANLIB_EXCEPTIONS_H
2
#define GFANLIB_EXCEPTIONS_H
3
4
#include <exception>
5
6
class
weightOverflowException
:
public
std::exception
7
{
8
virtual
const
char
*
what
()
const
throw()
9
{
10
return
"int overflow in a weight vector"
;
11
}
12
};
13
14
EXTERN_INST_VAR
weightOverflowException
weightOverflow
;
15
16
class
exponentOverflowException
:
public
std::exception
17
{
18
virtual
const
char
*
what
()
const
throw()
19
{
20
return
"int overflow in an exponent"
;
21
}
22
};
23
24
EXTERN_INST_VAR
exponentOverflowException
exponentOverflow
;
25
26
#endif
exponentOverflowException
Definition
gfanlib_exceptions.h:17
exponentOverflowException::what
virtual const char * what() const
Definition
gfanlib_exceptions.h:18
weightOverflowException
Definition
gfanlib_exceptions.h:7
weightOverflowException::what
virtual const char * what() const
Definition
gfanlib_exceptions.h:8
weightOverflow
EXTERN_INST_VAR weightOverflowException weightOverflow
Definition
gfanlib_exceptions.h:14
exponentOverflow
EXTERN_INST_VAR exponentOverflowException exponentOverflow
Definition
gfanlib_exceptions.h:24
EXTERN_INST_VAR
#define EXTERN_INST_VAR
Definition
globaldefs.h:9
Generated on
for My Project by
doxygen 1.17.0
for
Singular