BlockIPPlatform
Main Page
Classes
Files
File List
All
Classes
Files
Functions
Variables
SMLBlockIP
ExceptionSMLBlockIP.h
Go to the documentation of this file.
1
6
#ifndef EXCEPTIONSMLBLOCKIP_H
7
#define EXCEPTIONSMLBLOCKIP_H
8
9
#include <exception>
10
#include <string>
11
12
using namespace
std;
13
15
class
ExceptionSMLBlockIP
:
public
exception {
16
public
:
17
enum
TYPE_ERROR {NONLINEAR_CONSTRAINTS, WRONG_QUADRATICS, NON_ZERO_SLACK_LB,
18
NEGATIVE_SLACK_UB, NON_EQUAL_COMMODITIES, WRONG_SLACK_COEF, HESS_NOT_SEMIDEF, HESS_NOT_DIAG,
19
LIN_SLACKS, SYNTAX_ERROR};
20
21
TYPE_ERROR error;
22
string
file;
23
int
line;
24
ExceptionSMLBlockIP
(TYPE_ERROR error)
throw
();
25
ExceptionSMLBlockIP
(TYPE_ERROR error,
string
file,
int
line)
throw
();
26
~
ExceptionSMLBlockIP
()
throw
();
27
const
char
* what()
const
throw
();
28
};
29
30
#endif //EXCEPTIONSMLBLOCKIP_H
Generated on Thu May 29 2014 16:23:10 for BlockIPPlatform by
1.8.2