SUPER Space invader : Turbo edition DX - VS GOD
1.0.0
A simple space invader ripoff
errcode.h
Go to the documentation of this file.
1
21
#ifndef CSTCODERR_H
22
#define CSTCODERR_H
23
24
#include <map>
25
#include <string>
26
27
namespace
nsException
28
{
29
30
enum
{
31
KNoExc
= 0,
32
KNoError
= 0,
34
kColorOutOfBounds
= 100,
36
KFileError
= 252,
37
KErrArg
= 253,
38
KExcStd
= 254,
39
kExcInconnue
= -1,
41
kErrTooHight
= 300,
42
kErrTooRight
= 301,
43
kErrFontSize
= 302,
44
kNoTriangle
= 303,
45
kNoLine
= 304,
46
kNoRectangle
= 305,
47
kNoCircle
= 306,
48
kTypeNotFound
= 307,
49
};
50
51
const
std::map <unsigned, std::string>
kError
52
{
53
{
kErrTooHight
,
"Trop haut"
},
54
{
kErrTooRight
,
"Trop à droite"
},
55
{
kErrFontSize
,
"Taille de police incorrecte"
},
56
{
kNoTriangle
,
"Nombre incorrect de points pour la construction du triangle"
},
57
{
kNoLine
,
"Nombre incorrect de points pour la construction d'une ligne"
},
58
{
kNoRectangle
,
"Nombre incorrect de points pour la construction d'un rectangle"
},
59
{
kNoCircle
,
"Nombre incorrect de points pour la construction d'un cercle"
},
60
{
kTypeNotFound
,
"Instanciation impossible: Pas le bon type"
},
61
};
62
63
}
// namespace nsException
64
65
#endif
// CSTCODERR_H
nsException
Espace de nom pour la gestion d'exceptions.
nsException::KNoError
@ KNoError
Definition:
errcode.h:32
nsException::KNoExc
@ KNoExc
Definition:
errcode.h:31
nsException::kErrTooHight
@ kErrTooHight
Definition:
errcode.h:41
nsException::kNoLine
@ kNoLine
Definition:
errcode.h:45
nsException::kNoTriangle
@ kNoTriangle
Definition:
errcode.h:44
nsException::kColorOutOfBounds
@ kColorOutOfBounds
Definition:
errcode.h:34
nsException::KFileError
@ KFileError
Definition:
errcode.h:36
nsException::kErrFontSize
@ kErrFontSize
Definition:
errcode.h:43
nsException::KExcStd
@ KExcStd
Definition:
errcode.h:38
nsException::kNoCircle
@ kNoCircle
Definition:
errcode.h:47
nsException::kNoRectangle
@ kNoRectangle
Definition:
errcode.h:46
nsException::kTypeNotFound
@ kTypeNotFound
Definition:
errcode.h:48
nsException::KErrArg
@ KErrArg
Definition:
errcode.h:37
nsException::kExcInconnue
@ kExcInconnue
Definition:
errcode.h:39
nsException::kErrTooRight
@ kErrTooRight
Definition:
errcode.h:42
nsException::kError
const std::map< unsigned, std::string > kError
Definition:
errcode.h:52
lib_headers
mingl
exception
errcode.h
Generated by
1.9.3