My Project
UNKNOWN_GIT_VERSION
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
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
exponentOverflowException
exponentOverflow
;
25
26
#endif
weightOverflowException
Definition:
gfanlib_exceptions.h:7
weightOverflowException::what
virtual const char * what() const
Definition:
gfanlib_exceptions.h:8
exponentOverflowException
Definition:
gfanlib_exceptions.h:17
weightOverflow
weightOverflowException weightOverflow
exponentOverflowException::what
virtual const char * what() const
Definition:
gfanlib_exceptions.h:18
exponentOverflow
exponentOverflowException exponentOverflow
Generated on Thu Dec 17 2020 00:00:00 for My Project by
doxygen 1.8.20
for
Singular UNKNOWN_GIT_VERSION