SHOGUN
v2.0.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
shogun
lib
ShogunException.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Written (W) 1999-2009 Soeren Sonnenburg
8
* Copyright (C) 1999-2009 Fraunhofer Institute FIRST and Max-Planck-Society
9
*/
10
11
#ifndef _SHOGUN_EXCEPTION_H_
12
#define _SHOGUN_EXCEPTION_H_
13
14
namespace
shogun
15
{
19
class
ShogunException
20
{
21
void
init(
const
char
* str);
22
23
public
:
28
ShogunException
(
const
char
* str);
29
34
ShogunException
(
const
ShogunException
& orig);
35
38
virtual
~ShogunException
();
39
44
inline
const
char
*
get_exception_string
() {
return
val; }
45
46
private
:
48
char
* val;
49
};
50
}
51
#endif // _SHOGUN_EXCEPTION_H_
SHOGUN
Machine Learning Toolbox - Documentation