Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
c
d
e
f
g
i
l
m
n
u
v
Typedefs
a
c
d
e
g
i
m
n
o
p
s
u
v
Enumerations
_
e
g
h
i
p
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
x
y
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
y
Typedefs
a
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
v
Enumerations
Enumerator
a
c
d
e
f
i
n
o
r
s
t
w
x
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
y
Functions
c
d
e
g
i
l
m
o
p
r
t
Variables
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
p
s
t
u
Enumerations
a
b
c
d
e
f
g
i
p
s
t
u
Enumerator
a
b
c
d
e
f
g
i
l
m
p
r
s
t
u
y
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
FirmwareUpdateExceptions.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
// (c) 2016-2017 by Basler AG
3
// Project: GenApi
4
// Author: Andreas Gau
5
//
6
// License: This file is published under the license of the EMVA GenICam Standard Group.
7
// A text file describing the legal terms is included in your installation as 'GenICam_license.pdf'.
8
// If for some reason you are missing this file please contact the EMVA or visit the website
9
// (http://www.genicam.org) for a full copy.
10
//
11
// THIS SOFTWARE IS PROVIDED BY THE EMVA GENICAM STANDARD GROUP "AS IS"
12
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
13
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
14
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE EMVA GENICAM STANDARD GROUP
15
// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
16
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
17
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
18
// OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
19
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
20
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
21
// POSSIBILITY OF SUCH DAMAGE.
22
//-----------------------------------------------------------------------------
27
#ifndef GENFW_FIRMWAREUPDATEEXCEPTIONS_H
28
#define GENFW_FIRMWAREUPDATEEXCEPTIONS_H
29
30
#include <
GenICamFwd.h
>
31
#include <
Base/GCException.h
>
32
#include <
FirmwareUpdate/FirmwareUpdateDll.h
>
33
#include <
FirmwareUpdate/FirmwareUpdateLinkage.h
>
34
37
#define GENFW_DECLARE_EXCEPTION( name ) \
38
class GENFW_DECL name : public GENICAM_NAMESPACE::GenericException \
39
{ \
40
public: \
41
name( const char* pDescription, const char *pSourceFileName, int SourceLine ); \
42
name( const char* pDescription, const char *pSourceFileName, int SourceLine, const char* pExceptionType ); \
43
name( const char* pDescription, const char *pSourceFileName, int SourceLine, const char *pEntryPoint, const char *pErrorNodeName, const char* pExceptionType ); \
44
}
45
46
//-------------------------------------------------------------
47
//
48
namespace
GENICAM_NAMESPACE
49
{
51
GENFW_DECLARE_EXCEPTION
(FileNotFoundException);
52
54
GENFW_DECLARE_EXCEPTION
(FileIOException);
55
57
GENFW_DECLARE_EXCEPTION
(FormatException);
58
}
59
60
61
63
# define GENFW_FILE_NOT_FOUND_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::FileNotFoundException>(__FILE__, __LINE__).Report
64
66
# define GENFW_FILE_IO_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::FileIOException>(__FILE__, __LINE__).Report
67
69
# define GENFW_FORMAT_EXCEPTION GENICAM_NAMESPACE::ExceptionReporter<GENICAM_NAMESPACE::FormatException>(__FILE__, __LINE__).Report
70
71
#endif // GENFW_FIRMWAREUPDATEEXCEPTIONS_H
GENICAM_NAMESPACE
Definition:
GCArray.h:32
FirmwareUpdateDll.h
Defines to be used for FirmwareUpdate library.
GenICamFwd.h
Forward declarations for GenICam types.
GCException.h
GENICAM_NAMESPACE::GENFW_DECLARE_EXCEPTION
GENFW_DECLARE_EXCEPTION(FileNotFoundException)
Exception fired if a file is not found.
FirmwareUpdateLinkage.h
helpers for pragma linkage
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11