My Project
debian-1:4.1.2-p1+ds-2
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
weightOverflowException
Definition:
gfanlib_exceptions.h:6
weightOverflowException::what
virtual const char * what() const
Definition:
gfanlib_exceptions.h:8
EXTERN_INST_VAR
#define EXTERN_INST_VAR
Definition:
globaldefs.h:9
exponentOverflowException
Definition:
gfanlib_exceptions.h:16
exponentOverflowException::what
virtual const char * what() const
Definition:
gfanlib_exceptions.h:18
weightOverflow
EXTERN_INST_VAR weightOverflowException weightOverflow
Definition:
gfanlib_exceptions.h:14
exponentOverflow
EXTERN_INST_VAR exponentOverflowException exponentOverflow
Definition:
gfanlib_exceptions.h:24
Generated on Thu Jan 9 2020 20:32:43 for My Project by
doxygen 1.8.16
for
Singular debian-1:4.1.2-p1+ds-2